[llvm] [LoopUnroll] Ignore inlinable calls if unrolling is forced (#88141) (PR #88149)

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 10:43:27 PDT 2024


gburgessiv wrote:

Ah, sorry for the delay here.

> A possible caveat is the interaction with the pre-link pipeline: Are we okay with unrolling the calls there, or would it be better to wait until post-link (in which case the call has likely been inlined)?

I added a commit that tries to funnel `PrepareForLTO` through properly. I'm not confident it caught everything, but it should be a step toward addressing this, at least. I agree pushing this out of prelink is good, since the prelink pass manager seems to favor transformations that reduce IR size.

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


More information about the llvm-commits mailing list