Skip to content

Commit 5d7ff0d

Browse files
committed
Fix an unused warning in release build
1 parent ec3e290 commit 5d7ff0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6780,6 +6780,7 @@ static bool ReduceLoopStrength(Loop *L, IVUsers &IU, ScalarEvolution &SE,
67806780
PHINode *ToFold = CanFoldTerminatingCondition->first;
67816781
PHINode *ToHelpFold = CanFoldTerminatingCondition->second;
67826782

6783+
(void)ToFold;
67836784
LLVM_DEBUG(dbgs() << "To fold phi-node:\n"
67846785
<< *ToFold << "\n"
67856786
<< "New term-cond phi-node:\n"

0 commit comments

Comments
 (0)