3 Commits

Author SHA1 Message Date
Stefan Pintilie
53c37f300d
[PowerPC] Add phony subregisters to cover the high half of the VSX registers. (#94628)
On PowerPC there are 128 bit VSX registers. These registers are half
overlapped with 64 bit floating point registers (FPR). The 64 bit half
of the VXS register that does not overlap with the FPR does not overlap
with any other register class. The FPR are the only subregisters of the
VSX registers but they do not fully cover the 128 bit super register.
This leads to incorrect lane masks being created.

This patch adds phony registers for the other half of the VSX registers
in order to fully cover them and to make sure that the lane masks are
not the same for the VSX and the floating point register.
2024-07-29 11:17:04 -04:00
Stefan Pintilie
1af1c9fb98 [NFC][PowerPC] Update the option to -enable-subreg-liveness. 2024-06-14 13:57:21 -05:00
Stefan Pintilie
e84ecf26fa
[NFC][PowerPC] Add test to check lanemasks for subregisters. (#94363)
This change adds a test case to check the lane masks for a varitey of
subregisters.
2024-06-14 13:49:37 -04:00