From: Kevin Gleason Date: Thu, 4 Aug 2022 23:15:07 +0000 (+0000) Subject: [MLIR] Fix arith.cmpf assembly syntax in the doc to match the implementation (NFC) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e38b0fb008e595d37e436c125d3e41acd7944d06;p=platform%2Fupstream%2Fllvm.git [MLIR] Fix arith.cmpf assembly syntax in the doc to match the implementation (NFC) --- diff --git a/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td b/mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td index a36ea68..5d217a7 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 ``` }];