Fix unused variables / fields warnings in release builds

llvm-svn: 301151
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 390e495..a5234b4 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -6098,6 +6098,11 @@
 ScalarEvolution::ExitLimitCache::find(const Loop *L, Value *ExitCond,
                                       BasicBlock *TBB, BasicBlock *FBB,
                                       bool ControlsExit, bool AllowPredicates) {
+  (void)this->L;
+  (void)this->TBB;
+  (void)this->FBB;
+  (void)this->AllowPredicates;
+
   assert(this->L == L && this->TBB == TBB && this->FBB == FBB &&
          this->AllowPredicates == AllowPredicates &&
          "Variance in assumed invariant key components!");
@@ -6118,6 +6123,7 @@
 
   auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL});
   assert(InsertResult.second && "Expected successful insertion!");
+  (void)InsertResult;
 }
 
 ScalarEvolution::ExitLimit ScalarEvolution::computeExitLimitFromCondCached(