[mlir][arith] Use declarative asm format for fastmath flags
authorrkayaith <rkayaith@gmail.com>
Mon, 31 Oct 2022 16:50:17 +0000 (12:50 -0400)
committerrkayaith <rkayaith@gmail.com>
Wed, 2 Nov 2022 16:51:28 +0000 (12:51 -0400)
commit69112d0d2dc1445a00f2b6a623c89e9f0d20a915
tree89423ae1fb9a1c21596ec4e7dd37e8106bada0cd
parent55292e9ee152e4421b5e52e6a9247d479abdb0e1
[mlir][arith] Use declarative asm format for fastmath flags

Switch to using an optional group in the assembly format instead of a
custom directive. There's no change to the actual printed format.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D137087
mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
mlir/lib/Dialect/Arith/IR/ArithOps.cpp