aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 12:22:49 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 12:22:49 +0000
commit9813dbf396e63f6d4fd99fe0f6651e831cb7414b (patch)
tree6ad5a9f5502149ac3e65afd8654182584b78bccb /lib/Target/SystemZ/SystemZInstrInfo.cpp
parent9a05f040e70494ab0092faa9ed10dc70ff1f4e66 (diff)
downloadexternal_llvm-9813dbf396e63f6d4fd99fe0f6651e831cb7414b.zip
external_llvm-9813dbf396e63f6d4fd99fe0f6651e831cb7414b.tar.gz
external_llvm-9813dbf396e63f6d4fd99fe0f6651e831cb7414b.tar.bz2
[SystemZ] Add truncating high-word stores (STCH and STHH)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191743 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 7cbb4f7..1992993 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -826,6 +826,14 @@ SystemZInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
expandRXYPseudo(MI, SystemZ::L, SystemZ::LFH);
return true;
+ case SystemZ::STCMux:
+ expandRXYPseudo(MI, SystemZ::STC, SystemZ::STCH);
+ return true;
+
+ case SystemZ::STHMux:
+ expandRXYPseudo(MI, SystemZ::STH, SystemZ::STHH);
+ return true;
+
case SystemZ::STMux:
expandRXYPseudo(MI, SystemZ::ST, SystemZ::STFH);
return true;