summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 14:41:52 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 14:41:52 +0000
commitbd1958d8e99ebd5a885f848b2f688c399cfc9886 (patch)
treeb6e601bf608dbf79bf81ad61465325d83ac3bd18 /lib/Target/SystemZ/SystemZInstrInfo.cpp
parentf985f01574956da0d42e33d440deb63bf153d354 (diff)
downloadllvm-bd1958d8e99ebd5a885f848b2f688c399cfc9886.tar.gz
llvm-bd1958d8e99ebd5a885f848b2f688c399cfc9886.tar.bz2
llvm-bd1958d8e99ebd5a885f848b2f688c399cfc9886.tar.xz
[SystemZ] Extend test-under-mask support to high GR32s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191773 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 f32cf9c527..2c48c78981 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -910,6 +910,14 @@ SystemZInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
expandRIPseudo(MI, SystemZ::XILF, SystemZ::XIHF, false);
return true;
+ case SystemZ::TMLMux:
+ expandRIPseudo(MI, SystemZ::TMLL, SystemZ::TMHL, false);
+ return true;
+
+ case SystemZ::TMHMux:
+ expandRIPseudo(MI, SystemZ::TMLH, SystemZ::TMHH, false);
+ return true;
+
case SystemZ::RISBMux: {
bool DestIsHigh = isHighReg(MI->getOperand(0).getReg());
bool SrcIsHigh = isHighReg(MI->getOperand(2).getReg());