[Mlir-commits] [mlir] 146f5d9 - [MLIR] NFC: fully scope use FastMathFlag.

Christian Sigg llvmlistbot at llvm.org
Thu Feb 2 09:26:38 PST 2023


Author: Christian Sigg
Date: 2023-02-02T18:25:44+01:00
New Revision: 146f5d940dfec88303712da35357cd7655573a77

URL: https://github.com/llvm/llvm-project/commit/146f5d940dfec88303712da35357cd7655573a77
DIFF: https://github.com/llvm/llvm-project/commit/146f5d940dfec88303712da35357cd7655573a77.diff

LOG: [MLIR] NFC: fully scope use FastMathFlag.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
index ee38637599ed..cc1a8b854ca7 100644
--- a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
+++ b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
@@ -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) }];


        


More information about the Mlir-commits mailing list