[MLIR] Fix arith.cmpf assembly syntax in the doc to match the implementation (NFC)
authorKevin Gleason <gleasonk@google.com>
Thu, 4 Aug 2022 23:15:07 +0000 (23:15 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 4 Aug 2022 23:15:36 +0000 (23:15 +0000)
mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td

index a36ea68..5d217a7 100644 (file)
@@ -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
     ```
   }];