[Mlir-commits] [mlir] [mlir][transform] Guard parametric loop tiling pass from no option (PR #118254)
Kai Sasaki
llvmlistbot at llvm.org
Mon Dec 2 22:23:52 PST 2024
================
@@ -40,6 +40,9 @@ class SimpleParametricLoopTilingPass
}
void runOnOperation() override {
+ // If no outer loop iteration is given, ignore the pass.
+ if (sizes.empty())
+ return;
----------------
Lewuathe wrote:
@joker-eph Thanks for the feedback. Since it's the invalid input from the user, it should have thrown error instead of ignoring as you suggested. I'll try to change it.
https://github.com/llvm/llvm-project/pull/118254
More information about the Mlir-commits
mailing list