mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +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
|
// As long as we negate the condition everything is fine
|
||||||
SDNode *SetCC = Intr;
|
SDNode *SetCC = Intr;
|
||||||
assert(SetCC->getConstantOperandVal(1) == 1);
|
assert(SetCC->getConstantOperandVal(1) == 1);
|
||||||
|
assert(cast<CondCodeSDNode>(SetCC->getOperand(2).getNode())->get() ==
|
||||||
CondCodeSDNode *CC = cast<CondCodeSDNode>(SetCC->getOperand(2).getNode());
|
ISD::SETNE);
|
||||||
assert(CC->get() == ISD::SETNE);
|
|
||||||
Intr = SetCC->getOperand(0).getNode();
|
Intr = SetCC->getOperand(0).getNode();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user