summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commitddcba562819969b8fdbf60fd52dc92cfb0df0f0e (patch)
tree9c9ff99388220a0da3cb5997b2e114cc900eefbf /llvm/lib/Target
parentdc42ea8fbd8586eb8a62f18bfb205ae9aa0a05df (diff)
downloadbcm5719-llvm-ddcba562819969b8fdbf60fd52dc92cfb0df0f0e.tar.gz
bcm5719-llvm-ddcba562819969b8fdbf60fd52dc92cfb0df0f0e.zip
SystemZInstrInfo.cpp: Tweak an assertion. [-Wunused-variable]
llvm-svn: 185499
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
index 4f919e9bcbe..e9829d59a68 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud