projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f53d643
)
SystemZInstrInfo.cpp: Tweak an assertion. [-Wunused-variable]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 3 Jul 2013 02:20:49 +0000
(
02:20
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 3 Jul 2013 02:20:49 +0000
(
02:20
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185499
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SystemZ/SystemZInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SystemZ/SystemZInstrInfo.cpp
b/lib/Target/SystemZ/SystemZInstrInfo.cpp
index 4f919e9bcbe8ec5aac46eb47c99764db60312970..e9829d59a68dfb36d356e28f50d86950aa778841 100644
(file)
--- 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