[Mlir-commits] [mlir] [mlir][tosa] Disallow invalid datatype combinations in the validation pass (PR #131595)

TatWai Chong llvmlistbot at llvm.org
Tue Mar 18 10:03:48 PDT 2025


================
@@ -1042,6 +1042,11 @@ void TosaValidation::runOnOperation() {
       }
     }
 
+    if (failed(profileComp.checkInvalid(op))) {
----------------
tatwaichong wrote:

Yes, I'm leaning on making it optional. Luke's option naming is good. :) 
Do we going to have an option `--allow-invalid-op-data-type` for example, under `--tosa-validate`?

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


More information about the Mlir-commits mailing list