Skip to content

Commit 6a8254c

Browse files
[PowerPC] Fix unused variable after 0c9c62a
This variable is only used in an assertion, so inline it per the LLVM coding standards.
1 parent 2ee12f1 commit 6a8254c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15673,8 +15673,8 @@ static SDValue ConvertSETCCToXori(SDNode *N, SelectionDAG &DAG) {
1567315673
SDValue RHS = N->getOperand(1);
1567415674
SDLoc DL(N);
1567515675

15676-
ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
15677-
assert((CC == ISD::SETEQ) && "CC must be ISD::SETEQ.");
15676+
assert((cast<CondCodeSDNode>(N->getOperand(2))->get() == ISD::SETEQ) &&
15677+
"CC must be ISD::SETEQ.");
1567815678
// Rewrite it as XORI (and X, 1), 1.
1567915679
auto MakeXor1 = [&](SDValue V) {
1568015680
EVT VT = V.getValueType();

0 commit comments

Comments
 (0)