Skip to content

Commit a44bc40

Browse files
committed
[NFC] Fix unused var in release builds
llvm-svn: 375053
1 parent 2518166 commit a44bc40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/LoopUnswitch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,7 @@ void LoopUnswitch::SimplifyCode(std::vector<Instruction*> &Worklist, Loop *L) {
16161616
// If BI's parent is the only pred of the successor, fold the two blocks
16171617
// together.
16181618
BasicBlock *Pred = BI->getParent();
1619+
(void)Pred;
16191620
BasicBlock *Succ = BI->getSuccessor(0);
16201621
BasicBlock *SinglePred = Succ->getSinglePredecessor();
16211622
if (!SinglePred) continue; // Nothing to do.

0 commit comments

Comments
 (0)