[Mlir-commits] [mlir] [MLIR][NVVM] Fixed assertion failure for insufficient parsing validation of nvvm dialect PureSpecialRangeableRegisterOp (PR #163434)

Stefan Mada llvmlistbot at llvm.org
Tue Oct 14 13:48:31 PDT 2025


================
@@ -279,6 +280,23 @@ class NVVM_PureSpecialRangeableRegisterOp<string mnemonic, list<Trait> traits =
         SetIntRangeFn setResultRanges) {
         nvvmInferResultRanges(getOperation(), getResult(), argRanges, setResultRanges);
     }
+
+    // Verify the range attribute satisfies LLVM ConstantRange constructor requirements.
+    ::llvm::LogicalResult $cppClass::verify() {
----------------
smada3 wrote:

Made a verification function that each of these classes invokes. Let me know how it looks.

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


More information about the Mlir-commits mailing list