[MLIR] NFC: fully scope use FastMathFlag.
authorChristian Sigg <csigg@google.com>
Fri, 3 Feb 2023 10:47:28 +0000 (11:47 +0100)
committerChristian Sigg <csigg@google.com>
Fri, 3 Feb 2023 10:47:28 +0000 (11:47 +0100)
Second instance.

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

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