[llvm] [LoopUnroll] Unroll when requested despite inlining candidates (PR #219077)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 13:46:24 PDT 2026


justinfargnoli wrote:

> Will this do the unroll pre-link? 

Yes, as is, it will unroll loops with pragmas pre-link. 

> That should certainly not happen.

In that case, adding an `|| PrepareForLTO` should give us the semantics we want. 

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


More information about the llvm-commits mailing list