[llvm] [MachineOutliner] Don't outline ADRP pair to avoid incorrect ICF (PR #160232)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 04:46:46 PDT 2025


https://github.com/davemgreen commented:

Hi. The idea sounds OK to me. Would it be valid to outline so long as we always outlined both instructions (adrp+add, adrp+ldr) together? We fuse the adrp+add so they should generally be scheduled next to one another.

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


More information about the llvm-commits mailing list