[Mlir-commits] [mlir] [mlir][arith] Add nneg to extui and uitofp. (PR #183165)

Erick Ochoa Lopez llvmlistbot at llvm.org
Wed Feb 25 08:32:59 PST 2026


================
@@ -106,6 +106,53 @@ def ArithIntegerOverflowFlagsInterface : OpInterface<"ArithIntegerOverflowFlagsI
   ];
 }
 
+def ArithNonNegFlagInterface : OpInterface<"ArithNonNegFlagInterface"> {
+  let description = [{
+    Access to op non-negative (nneg) flag.
+  }];
+
+  let cppNamespace = "::mlir::arith";
+
+  let methods = [
+    InterfaceMethod<
+      /*desc=*/        "Returns whether the operation has the nneg flag set",
----------------
amd-eochoalo wrote:

Other descriptions follow this convention. I think this is fine :) 

https://github.com/llvm/llvm-project/pull/183165


More information about the Mlir-commits mailing list