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

Hu Yufan llvmlistbot at llvm.org
Fri Jul 4 21:54:31 PDT 2025


Hyffer 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.

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


More information about the Mlir-commits mailing list