[llvm] r327693 - [NFC] Void variables used for asserts only
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 15 22:02:24 PDT 2018
Author: mkazantsev
Date: Thu Mar 15 22:02:24 2018
New Revision: 327693
URL: http://llvm.org/viewvc/llvm-project?rev=327693&view=rev
Log:
[NFC] Void variables used for asserts only
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=327693&r1=327692&r2=327693&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Thu Mar 15 22:02:24 2018
@@ -6971,6 +6971,7 @@ ScalarEvolution::ExitLimitCache::find(co
bool ExitIfTrue, bool ControlsExit,
bool AllowPredicates) {
(void)this->L;
+ (void)this->ExitIfTrue;
(void)this->AllowPredicates;
assert(this->L == L && this->ExitIfTrue == ExitIfTrue &&
@@ -6994,6 +6995,7 @@ void ScalarEvolution::ExitLimitCache::in
auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL});
assert(InsertResult.second && "Expected successful insertion!");
(void)InsertResult;
+ (void)ExitIfTrue;
}
ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromCondCached(
More information about the llvm-commits
mailing list