[Mlir-commits] [mlir] Add options to generate-runtime-verification to enable faster pass running (PR #160331)
Mehdi Amini
llvmlistbot at llvm.org
Tue Sep 23 11:11:27 PDT 2025
================
@@ -32,14 +32,16 @@ def RuntimeVerifiableOpInterface : OpInterface<"RuntimeVerifiableOpInterface"> {
/*retTy=*/"void",
/*methodName=*/"generateRuntimeVerification",
/*args=*/(ins "::mlir::OpBuilder &":$builder,
- "::mlir::Location":$loc)
+ "::mlir::Location":$loc,
+ "unsigned":$verboseLevel)
----------------
joker-eph wrote:
```suggestion
"function_ref<std::string(Operation *, StringRef msg>":$generateErrorMessage)
```
Can we just use injection here?
That will actually allow the customer to control this all however they want.
https://github.com/llvm/llvm-project/pull/160331
More information about the Mlir-commits
mailing list