[Mlir-commits] [mlir] [MLIR][scp.parallel] Don't allow a tile size of 0 (PR #68762)
Justin Fargnoli
llvmlistbot at llvm.org
Wed Oct 11 22:05:38 PDT 2023
================
@@ -195,6 +195,9 @@ struct ParallelLoopTiling
}
void runOnOperation() override {
+ for (auto tileSize : tileSizes)
+ if (tileSize == 0)
+ signalPassFailure();
----------------
justinfargnoli wrote:
I took a stab at this. Is there a way to specify that the location of the error message is from a command line argument? Or is the best way to go forward using `UnknownLoc`?
https://github.com/llvm/llvm-project/pull/68762
More information about the Mlir-commits
mailing list