[llvm] [AArch64] Expand FORM_TRANSPOSED_REG_TUPLE to copies before regalloc (PR #207205)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 3 02:04:06 PDT 2026


================
@@ -21,9 +20,58 @@ using namespace llvm;
 
 namespace {
 
+static bool expandFormTransposedRegTuple(MachineBasicBlock &MBB,
+                                         MachineInstr &MI, LiveIntervals &LIS) {
----------------
gbossu wrote:

Add docstring? I think this expands `FORM_TRANSPOSED_REG_TUPLE_X2_PSEUDO` and `FORM_TRANSPOSED_REG_TUPLE_X4_PSEUDO` into pseudo COPY_INTO_TRANSPOSED_TUPLE copies after the coalescer. So I guess this runs before the pre-RA scheduler and greedy?

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


More information about the llvm-commits mailing list