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:
32e0662
)
R600/SIISelLowering.cpp: Suppress a warning. [-Wunused-variable]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 7 Jan 2013 11:14:44 +0000
(11:14 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 7 Jan 2013 11:14:44 +0000
(11:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171728
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIISelLowering.cpp
b/lib/Target/R600/SIISelLowering.cpp
index cd6e0e991607129d9bd3715a753b20466de190c3..4c672ca7c1f9ed79c7fb9a0dd9a7ac11a67da02a 100644
(file)
--- a/
lib/Target/R600/SIISelLowering.cpp
+++ b/
lib/Target/R600/SIISelLowering.cpp
@@
-327,9
+327,8
@@
SDValue SITargetLowering::LowerBRCOND(SDValue BRCOND,
// As long as we negate the condition everything is fine
SDNode *SetCC = Intr;
assert(SetCC->getConstantOperandVal(1) == 1);
-
- CondCodeSDNode *CC = cast<CondCodeSDNode>(SetCC->getOperand(2).getNode());
- assert(CC->get() == ISD::SETNE);
+ assert(cast<CondCodeSDNode>(SetCC->getOperand(2).getNode())->get() ==
+ ISD::SETNE);
Intr = SetCC->getOperand(0).getNode();
} else {