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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 14 21:52:51 PDT 2024


nikic wrote:

I think the change makes sense conceptually -- pragma unroll should override pretty much all inlining heuristics, and I don't see a strong reason why it wouldn't override this one as well.

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)?

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


More information about the llvm-commits mailing list