summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 15:00:44 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 15:00:44 +0000
commite22c56d6d81b84d6f4ba24c2f5b0b203e7ddffe9 (patch)
tree2cb11c268f8f3373416cf3fc1400a62ba4701ba3 /lib/Target/SystemZ/SystemZInstrInfo.cpp
parent185ef05ad6fdcaad1e831020b1f88d0046dd15d6 (diff)
downloadllvm-e22c56d6d81b84d6f4ba24c2f5b0b203e7ddffe9.tar.gz
llvm-e22c56d6d81b84d6f4ba24c2f5b0b203e7ddffe9.tar.bz2
llvm-e22c56d6d81b84d6f4ba24c2f5b0b203e7ddffe9.tar.xz
[SystemZ] Add comparisons of high words and memory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.cpp b/lib/Target/SystemZ/SystemZInstrInfo.cpp
index 9b50a3c684..38d0a32d6f 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -974,6 +974,14 @@ SystemZInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
expandRIPseudo(MI, SystemZ::CLFI, SystemZ::CLIH, false);
return true;
+ case SystemZ::CMux:
+ expandRXYPseudo(MI, SystemZ::C, SystemZ::CHF);
+ return true;
+
+ case SystemZ::CLMux:
+ expandRXYPseudo(MI, SystemZ::CL, SystemZ::CLHF);
+ return true;
+
case SystemZ::RISBMux: {
bool DestIsHigh = isHighReg(MI->getOperand(0).getReg());
bool SrcIsHigh = isHighReg(MI->getOperand(2).getReg());