diff options
author | Kevin Gleason <gleasonk@google.com> | 2022-08-04 23:15:07 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2022-08-04 23:15:36 +0000 |
commit | e38b0fb008e595d37e436c125d3e41acd7944d06 (patch) | |
tree | 6732c1adc3556218a7c1c1b65a9c25881e0dc8c3 | |
parent | c5b36ab1d6a667554bf369c34e51d02add039d16 (diff) |
[MLIR] Fix arith.cmpf assembly syntax in the doc to match the implementation (NFC)
-rw-r--r-- | mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td b/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td index a36ea682de31..5d217a7a041d 100644 --- a/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td +++ b/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td @@ -1144,8 +1144,8 @@ def Arith_CmpFOp : Arith_CompareOp<"cmpf"> { Example: ```mlir - %r1 = arith.cmpf "oeq" %0, %1 : f32 - %r2 = arith.cmpf "ult" %0, %1 : tensor<42x42xf64> + %r1 = arith.cmpf oeq, %0, %1 : f32 + %r2 = arith.cmpf ult, %0, %1 : tensor<42x42xf64> %r3 = "arith.cmpf"(%0, %1) {predicate: 0} : (f8, f8) -> i1 ``` }]; |