[llvm] r300500 - [SCEV] Fix another unused variable warning in release builds.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 14:07:26 PDT 2017
Author: d0k
Date: Mon Apr 17 16:07:26 2017
New Revision: 300500
URL: http://llvm.org/viewvc/llvm-project?rev=300500&view=rev
Log:
[SCEV] Fix another unused variable warning in release builds.
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=300500&r1=300499&r2=300500&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Mon Apr 17 16:07:26 2017
@@ -1741,6 +1741,7 @@ const SCEV *ScalarEvolution::getSignExte
const SCEV *SExt = getSignExtendExprImpl(Op, Ty, Cache);
auto InsertResult = Cache.insert({{Op, Ty}, SExt});
assert(InsertResult.second && "Expect the key was not in the cache");
+ (void)InsertResult;
return SExt;
}
More information about the llvm-commits
mailing list