Skip to content

Commit 778a582

Browse files
committed
Fix a -Wunused-variable warning in release build.
1 parent 3bde23c commit 778a582

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
@@ -6835,6 +6835,7 @@ static bool ReduceLoopStrength(Loop *L, IVUsers &IU, ScalarEvolution &SE,
68356835
<< *ToHelpFold << "\n");
68366836

68376837
Value *StartValue = ToHelpFold->getIncomingValueForBlock(LoopPreheader);
6838+
(void)StartValue;
68386839
Value *LoopValue = ToHelpFold->getIncomingValueForBlock(LoopLatch);
68396840

68406841
// SCEVExpander for both use in preheader and latch

0 commit comments

Comments
 (0)