Skip to content

Commit b73290b

Browse files
committed
Fix the -Wunused-variable warning.
1 parent e13c141 commit b73290b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/PowerPC/PPCExpandISEL.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,12 +430,11 @@ void PPCExpandISEL::populateBlocks(BlockISELList &BIL) {
430430
// condition is true
431431
MachineOperand &FalseValue = MI->getOperand(2); // Value to store if
432432
// condition is false
433-
MachineOperand &ConditionRegister = MI->getOperand(3); // Condition
434433

435434
LLVM_DEBUG(dbgs() << "Dest: " << Dest << "\n");
436435
LLVM_DEBUG(dbgs() << "TrueValue: " << TrueValue << "\n");
437436
LLVM_DEBUG(dbgs() << "FalseValue: " << FalseValue << "\n");
438-
LLVM_DEBUG(dbgs() << "ConditionRegister: " << ConditionRegister << "\n");
437+
LLVM_DEBUG(dbgs() << "ConditionRegister: " << MI->getOperand(3) << "\n");
439438

440439
// If the Dest Register and True Value Register are not the same one, we
441440
// need the True Block.

0 commit comments

Comments
 (0)