summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-07-03 02:20:49 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-07-03 02:20:49 +0000
commit985148ea873db018dbd2b53f066f5817a9b11aad (patch)
tree8504ee4779fad5c1c78bb9f0a7d5c820460bc367 /lib/Target/SystemZ/SystemZInstrInfo.cpp
parentf53d643bd9f9e0d13214f78274fc021d6c03765d (diff)
downloadllvm-985148ea873db018dbd2b53f066f5817a9b11aad.tar.gz
llvm-985148ea873db018dbd2b53f066f5817a9b11aad.tar.bz2
llvm-985148ea873db018dbd2b53f066f5817a9b11aad.tar.xz
SystemZInstrInfo.cpp: Tweak an assertion. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.cpp b/lib/Target/SystemZ/SystemZInstrInfo.cpp
index 4f919e9bcb..e9829d59a6 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -350,8 +350,8 @@ SystemZInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
return 0;
unsigned OpNum = Ops[0];
- unsigned Reg = MI->getOperand(OpNum).getReg();
- assert(Size == MF.getRegInfo().getRegClass(Reg)->getSize() &&
+ assert(Size == MF.getRegInfo()
+ .getRegClass(MI->getOperand(OpNum).getReg())->getSize() &&
"Invalid size combination");
// Look for cases where the source of a simple store or the destination