Skip to content

Commit 893ac53

Browse files
committed
Fix -Wunused-variable
1 parent b9a2790 commit 893ac53

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
@@ -10535,8 +10535,8 @@ SDValue PPCTargetLowering::LowerATOMIC_LOAD_STORE(SDValue Op,
1053510535
SelectionDAG &DAG) const {
1053610536
AtomicSDNode *N = cast<AtomicSDNode>(Op.getNode());
1053710537
EVT MemVT = N->getMemoryVT();
10538-
MVT VT = MemVT.getSimpleVT();
10539-
assert(VT == MVT::i128 && "Expect quadword atomic operations");
10538+
assert(MemVT.getSimpleVT() == MVT::i128 &&
10539+
"Expect quadword atomic operations");
1054010540
SDLoc dl(N);
1054110541
unsigned Opc = N->getOpcode();
1054210542
switch (Opc) {

0 commit comments

Comments
 (0)