diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2018-03-16 05:02:24 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2018-03-16 05:02:24 +0000 |
commit | 2e7fec7c90635fc5413c584c6645b6ce2570b9d7 (patch) | |
tree | 1616957afde269fff2624f013ccb5e1151e3340a | |
parent | 80a0f020faebf3af0dbfdaef2aa64d596084d5e5 (diff) | |
download | bcm5719-llvm-2e7fec7c90635fc5413c584c6645b6ce2570b9d7.tar.gz bcm5719-llvm-2e7fec7c90635fc5413c584c6645b6ce2570b9d7.zip |
[NFC] Void variables used for asserts only
llvm-svn: 327693
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 181914e3b29..eb435db9b61 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -6971,6 +6971,7 @@ ScalarEvolution::ExitLimitCache::find(const Loop *L, Value *ExitCond, 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::insert(const Loop *L, Value *ExitCond, auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); assert(InsertResult.second && "Expected successful insertion!"); (void)InsertResult; + (void)ExitIfTrue; } ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromCondCached( |