summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-25 11:11:53 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-25 11:11:53 +0000
commit652784e29a4daeb54e816d313cc199dcf0cb7f54 (patch)
treec57c52e075f551a8b68c2deb75fa0bfe79b24ee0 /llvm/lib/Target/SystemZ/SystemZShortenInst.cpp
parent0c58bc64a4bd40561ae044527c4e1f8190f435f7 (diff)
downloadbcm5719-llvm-652784e29a4daeb54e816d313cc199dcf0cb7f54.tar.gz
bcm5719-llvm-652784e29a4daeb54e816d313cc199dcf0cb7f54.zip
[SystemZ] Define the GR64 low-word logic instructions as pseudo aliases.
Another patch to avoid duplication of encoding information. Things like NILF, NILL and NILH are used as both 32-bit and 64-bit instructions. Here the 64-bit versions are defined as aliases of the 32-bit ones. llvm-svn: 191369
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZShortenInst.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZShortenInst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp b/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp
index 526ae5c1e8c..b4808646717 100644
--- a/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp
@@ -119,7 +119,7 @@ bool SystemZShortenInst::processBlock(MachineBasicBlock *MBB) {
MBBE = MBB->rend(); MBBI != MBBE; ++MBBI) {
MachineInstr &MI = *MBBI;
unsigned Opcode = MI.getOpcode();
- if (Opcode == SystemZ::IILF32)
+ if (Opcode == SystemZ::IILF)
Changed |= shortenIIF(MI, LowGPRs, LiveHigh, SystemZ::LLILL,
SystemZ::LLILH);
unsigned UsedLow = 0;
OpenPOWER on IntegriCloud