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

Christian Sigg llvmlistbot at llvm.org
Fri Feb 3 02:48:01 PST 2023


Author: Christian Sigg
Date: 2023-02-03T11:47:28+01:00
New Revision: a7bf6831f955d3624104a4b3fbf91d13a6f9159c

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

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

Second instance.

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 cc1a8b854ca7c..fb790c13e39ab 100644
--- a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
+++ b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
@@ -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) }];


        


More information about the Mlir-commits mailing list