From a7bf6831f955d3624104a4b3fbf91d13a6f9159c Mon Sep 17 00:00:00 2001 From: Christian Sigg Date: Fri, 3 Feb 2023 11:47:28 +0100 Subject: [PATCH] [MLIR] NFC: fully scope use FastMathFlag. Second instance. --- mlir/include/mlir/Dialect/Arith/IR/ArithOps.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td index cc1a8b8..fb790c1 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 traits = []> : !listconcat([Pure, DeclareOpInterfaceMethods], traits)>, Arguments<(ins FloatLike:$lhs, FloatLike:$rhs, - DefaultValuedAttr:$fastmath)>, + DefaultValuedAttr< + Arith_FastMathAttr, "::mlir::arith::FastMathFlags::none">:$fastmath)>, Results<(outs FloatLike:$result)> { let assemblyFormat = [{ $lhs `,` $rhs (`fastmath` `` $fastmath^)? attr-dict `:` type($result) }]; -- 2.7.4