From: Christian Sigg Date: Fri, 3 Feb 2023 10:47:28 +0000 (+0100) Subject: [MLIR] NFC: fully scope use FastMathFlag. X-Git-Tag: upstream/17.0.6~18709 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7bf6831f955d3624104a4b3fbf91d13a6f9159c;p=platform%2Fupstream%2Fllvm.git [MLIR] NFC: fully scope use FastMathFlag. Second instance. --- 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) }];