summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 12:19:08 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 12:19:08 +0000
commit9a05f040e70494ab0092faa9ed10dc70ff1f4e66 (patch)
tree5b7d59b8b3663292ddd132a6ea24ff9b23916ef2 /lib/Target/SystemZ/SystemZInstrInfo.cpp
parent341562b9fb6574b1c9492e52cec24106cd31ce51 (diff)
downloadllvm-9a05f040e70494ab0092faa9ed10dc70ff1f4e66.tar.gz
llvm-9a05f040e70494ab0092faa9ed10dc70ff1f4e66.tar.bz2
llvm-9a05f040e70494ab0092faa9ed10dc70ff1f4e66.tar.xz
[SystemZ] Add zero-extending high-word loads (LLCH and LLHH)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191742 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 a1c0c36ae5..7cbb4f715b 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -814,6 +814,14 @@ SystemZInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
expandRXYPseudo(MI, SystemZ::LH, SystemZ::LHH);
return true;
+ case SystemZ::LLCMux:
+ expandRXYPseudo(MI, SystemZ::LLC, SystemZ::LLCH);
+ return true;
+
+ case SystemZ::LLHMux:
+ expandRXYPseudo(MI, SystemZ::LLH, SystemZ::LLHH);
+ return true;
+
case SystemZ::LMux:
expandRXYPseudo(MI, SystemZ::L, SystemZ::LFH);
return true;