[llvm] [PowerPC] Add phony subregisters to cover the high half of the VSX registers. (PR #94628)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 02:42:20 PDT 2024


================
@@ -3672,6 +3672,14 @@ bool RegisterCoalescer::joinVirtRegs(CoalescerPair &CP) {
     // having stale segments.
     LHSVals.pruneMainSegments(LHS, ShrinkMainRange);
 
+    LHSVals.pruneSubRegValues(LHS, ShrinkMask);
+    RHSVals.pruneSubRegValues(LHS, ShrinkMask);
+  } else if (TrackSubRegLiveness && !CP.getDstIdx() && CP.getSrcIdx()) {
----------------
arsenm wrote:

Is it possible to split this change and test into its own PR 

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


More information about the llvm-commits mailing list