Skip to content

Commit 146f5d9

Browse files
committed
[MLIR] NFC: fully scope use FastMathFlag.
1 parent 042f01b commit 146f5d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/include/mlir/Dialect/Arith/IR/ArithOps.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ class Arith_FloatUnaryOp<string mnemonic, list<Trait> traits = []> :
6969
!listconcat([DeclareOpInterfaceMethods<ArithFastMathInterface>],
7070
traits)>,
7171
Arguments<(ins FloatLike:$operand,
72-
DefaultValuedAttr<Arith_FastMathAttr, "FastMathFlags::none">:$fastmath)>,
72+
DefaultValuedAttr<
73+
Arith_FastMathAttr, "::mlir::arith::FastMathFlags::none">:$fastmath)>,
7374
Results<(outs FloatLike:$result)> {
7475
let assemblyFormat = [{ $operand (`fastmath` `` $fastmath^)?
7576
attr-dict `:` type($result) }];

0 commit comments

Comments
 (0)