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

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 13:46:55 PDT 2025


================
@@ -0,0 +1,133 @@
+# RUN: llc -mtriple=aarch64---  -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
----------------
dtellenbach wrote:

Can you add a test for the whole adrp/add/ldr sequence? That should be the most common case.

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


More information about the llvm-commits mailing list