[llvm] [LoopUnroll] Use branch probability in multi-exit loop unrolling (PR #164799)

Marek Sedláček via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 09:09:23 PST 2026


mark-sed wrote:

> It passes if I just add `-unroll-runtime-other-exit-predictable=false` to the 1st RUN command. No other modification are required.

@zibi2 That's great news, it looks like your downstream has changed that flag to be true by default (you can check in `LoopUnrollRuntime` with the cl::init value for `UnrollRuntimeOtherExitPredictable`), whereas upstream one is false. I will prepare a patch where I add this option to the run command just in case there are others who have the same issue since such change won't do no harm to the test.

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


More information about the llvm-commits mailing list