[MLIR] NFC: fully scope use FastMathFlag.
authorChristian Sigg <csigg@google.com>
Thu, 2 Feb 2023 17:24:13 +0000 (18:24 +0100)
committerChristian Sigg <csigg@google.com>
Thu, 2 Feb 2023 17:25:44 +0000 (18:25 +0100)
mlir/include/mlir/Dialect/Arith/IR/ArithOps.td

index ee38637..cc1a8b8 100644 (file)
@@ -69,7 +69,8 @@ class Arith_FloatUnaryOp<string mnemonic, list<Trait> traits = []> :
       !listconcat([DeclareOpInterfaceMethods<ArithFastMathInterface>],
                   traits)>,
     Arguments<(ins FloatLike:$operand,
-      DefaultValuedAttr<Arith_FastMathAttr, "FastMathFlags::none">:$fastmath)>,
+      DefaultValuedAttr<
+        Arith_FastMathAttr, "::mlir::arith::FastMathFlags::none">:$fastmath)>,
     Results<(outs FloatLike:$result)> {
   let assemblyFormat = [{ $operand (`fastmath` `` $fastmath^)?
                           attr-dict `:` type($result) }];