[llvm-branch-commits] [llvm] [Coalescer] Consider NewMI's subreg index when updating lanemask. (PR #121780)

Quentin Colombet via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 6 08:28:46 PST 2025


================
@@ -1508,14 +1508,14 @@ bool RegisterCoalescer::reMaterializeTrivialDef(const CoalescerPair &CP,
     //    undef %2.subreg:reg = INST %1:reg         ; DefMI (rematerializable),
     //                                              ; DefSubIdx = subreg
     //    %3:reg = COPY %2                          ; SrcIdx = DstIdx = 0
-    //    .... = SOMEINSTR %3:reg
+    //    .... = SOMEINSTR %3:reg, %2
----------------
qcolombet wrote:

Is this part of the change intended?

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


More information about the llvm-branch-commits mailing list