@@ -19,7 +19,7 @@ class LLVM_UnaryIntrOpBase<string func, Type element,
19
19
!listconcat([Pure, SameOperandsAndResultType], traits),
20
20
requiresFastmath> {
21
21
dag commonArgs = (ins LLVM_ScalarOrVectorOf<element>:$in);
22
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
22
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
23
23
"functional-type(operands, results)";
24
24
}
25
25
@@ -42,7 +42,7 @@ class LLVM_BinarySameArgsIntrOpBase<string func, Type element,
42
42
requiresFastmath> {
43
43
dag commonArgs = (ins LLVM_ScalarOrVectorOf<element>:$a,
44
44
LLVM_ScalarOrVectorOf<element>:$b);
45
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
45
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
46
46
"functional-type(operands, results)";
47
47
}
48
48
@@ -67,7 +67,7 @@ class LLVM_TernarySameArgsIntrOpBase<string func, Type element,
67
67
dag commonArgs = (ins LLVM_ScalarOrVectorOf<element>:$a,
68
68
LLVM_ScalarOrVectorOf<element>:$b,
69
69
LLVM_ScalarOrVectorOf<element>:$c);
70
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
70
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
71
71
"functional-type(operands, results)";
72
72
}
73
73
@@ -137,15 +137,15 @@ def LLVM_PowIOp : LLVM_OneResultIntrOp<"powi", [], [0,1],
137
137
(ins LLVM_ScalarOrVectorOf<LLVM_AnyFloat>:$val,
138
138
AnySignlessInteger:$power,
139
139
DefaultValuedAttr<LLVM_FastmathFlagsAttr, "{}">:$fastmathFlags);
140
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
140
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
141
141
"functional-type(operands, results)";
142
142
}
143
143
def LLVM_RintOp : LLVM_UnaryIntrOpF<"rint">;
144
144
def LLVM_NearbyintOp : LLVM_UnaryIntrOpF<"nearbyint">;
145
145
class LLVM_IntRoundIntrOpBase<string func> :
146
146
LLVM_OneResultIntrOp<func, [0], [0], [Pure]> {
147
147
let arguments = (ins LLVM_AnyFloat:$val);
148
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
148
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
149
149
"functional-type(operands, results)";
150
150
}
151
151
def LLVM_LroundOp : LLVM_IntRoundIntrOpBase<"lround">;
@@ -750,7 +750,7 @@ class LLVM_VecReductionF<string mnem>
750
750
ins DefaultValuedAttr<LLVM_FastmathFlagsAttr, "{}">:$fastmathFlags);
751
751
let arguments = !con(commonArgs, fmfArg);
752
752
753
- let assemblyFormat = "`(` operands `)` custom<LLVMOpAttrs>( attr-dict) `:` "
753
+ let assemblyFormat = "`(` operands `)` attr-dict `:` "
754
754
"functional-type(operands, results)";
755
755
}
756
756
0 commit comments