mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 07:30:33 +00:00
[X86] Add VCMPSSZrr_Intk and VCMPSDZrr_Intk to isNonFoldablePartialRegisterLoad.
The non-masked versions are already in there. I'm having some trouble coming up with a way to test this right now. Most load folding should happen during isel so I'm not sure how to get peephole pass to do it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5587c1846f
commit
91d95c4475
@ -4875,6 +4875,7 @@ static bool isNonFoldablePartialRegisterLoad(const MachineInstr &LoadMI,
|
||||
case X86::MULSSrr_Int: case X86::VMULSSrr_Int: case X86::VMULSSZrr_Int:
|
||||
case X86::SUBSSrr_Int: case X86::VSUBSSrr_Int: case X86::VSUBSSZrr_Int:
|
||||
case X86::VADDSSZrr_Intk: case X86::VADDSSZrr_Intkz:
|
||||
case X86::VCMPSSZrr_Intk:
|
||||
case X86::VDIVSSZrr_Intk: case X86::VDIVSSZrr_Intkz:
|
||||
case X86::VMAXSSZrr_Intk: case X86::VMAXSSZrr_Intkz:
|
||||
case X86::VMINSSZrr_Intk: case X86::VMINSSZrr_Intkz:
|
||||
@ -4926,6 +4927,7 @@ static bool isNonFoldablePartialRegisterLoad(const MachineInstr &LoadMI,
|
||||
case X86::MULSDrr_Int: case X86::VMULSDrr_Int: case X86::VMULSDZrr_Int:
|
||||
case X86::SUBSDrr_Int: case X86::VSUBSDrr_Int: case X86::VSUBSDZrr_Int:
|
||||
case X86::VADDSDZrr_Intk: case X86::VADDSDZrr_Intkz:
|
||||
case X86::VCMPSDZrr_Intk:
|
||||
case X86::VDIVSDZrr_Intk: case X86::VDIVSDZrr_Intkz:
|
||||
case X86::VMAXSDZrr_Intk: case X86::VMAXSDZrr_Intkz:
|
||||
case X86::VMINSDZrr_Intk: case X86::VMINSDZrr_Intkz:
|
||||
|
Loading…
Reference in New Issue
Block a user