mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 23:19:37 +00:00
R600/SIISelLowering.cpp: Suppress a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32e0662db3
commit
e13a2a3fde
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user