mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
[SystemZ] Add comparisons of large immediates using high words
There are no corresponding patterns for small immediates because they would prevent the use of fused compare-and-branch instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -966,6 +966,14 @@ SystemZInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
|
||||
expandRIPseudo(MI, SystemZ::AFI, SystemZ::AIH, false);
|
||||
return true;
|
||||
|
||||
case SystemZ::CFIMux:
|
||||
expandRIPseudo(MI, SystemZ::CFI, SystemZ::CIH, false);
|
||||
return true;
|
||||
|
||||
case SystemZ::CLFIMux:
|
||||
expandRIPseudo(MI, SystemZ::CLFI, SystemZ::CLIH, false);
|
||||
return true;
|
||||
|
||||
case SystemZ::RISBMux: {
|
||||
bool DestIsHigh = isHighReg(MI->getOperand(0).getReg());
|
||||
bool SrcIsHigh = isHighReg(MI->getOperand(2).getReg());
|
||||
|
Reference in New Issue
Block a user