[Mlir-commits] [mlir] [Tosa] Add tosa-to-linalg-pipeline for testing (PR #69997)

Tai Ly llvmlistbot at llvm.org
Tue Oct 24 14:15:50 PDT 2023


================
@@ -526,8 +527,8 @@ void TosaValidation::runOnOperation() {
     if (failed(applyLevelCheck(op)))
       signalPassFailure();
 
-    // do variable type checks
-    if (failed(applyVariableCheck(op)))
+    // do variable type checks iff topOp is a ModuleOp
+    if (isModule && failed(applyVariableCheck(op)))
----------------
Tai78641 wrote:

good point. reverted this change.

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


More information about the Mlir-commits mailing list