[llvm] [WIP][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
Thu Jun 13 08:41:07 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:
SUBREG_TO_REG coalescing is pretty broken. It would be great if you could migrate to not using it at all. It's fundamentally flawed and I think should be removed
https://github.com/llvm/llvm-project/pull/94628
More information about the llvm-commits
mailing list