[Mlir-commits] [mlir] [MLIR][SCF] fix loop pipelining pass use of uninitialized value (PR #146991)

Thomas Raoux llvmlistbot at llvm.org
Sat Jul 5 11:34:29 PDT 2025


ThomasRaoux wrote:

> > makes sense. Could you add a lit test for the case it changes (when we detect dynamicLoop=false)?
> 
> Sorry but I don't get the point. Currently most test cases in `Dialect/SCF/transform-opt.mlir` and `Dialect/SCF/loop-pipelining.mlir` satisfy `numIteration >= maxStage` thus `dynamicLoop = false`.
> 
> I added a test case that checks when a static loop does **not satisfy** `numIteration >= maxStage`, if I understand correctly.

right, sorry that's what I meant

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


More information about the Mlir-commits mailing list