[llvm] r300499 - Fix an unused variable error in rL300494.
Wei Mi via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 14:00:45 PDT 2017
Author: wmi
Date: Mon Apr 17 16:00:45 2017
New Revision: 300499
URL: http://llvm.org/viewvc/llvm-project?rev=300499&view=rev
Log:
Fix an unused variable error in rL300494.
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=300499&r1=300498&r2=300499&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Mon Apr 17 16:00:45 2017
@@ -1520,6 +1520,7 @@ const SCEV *ScalarEvolution::getZeroExte
const SCEV *ZExt = getZeroExtendExprImpl(Op, Ty, Cache);
auto InsertResult = Cache.insert({{Op, Ty}, ZExt});
assert(InsertResult.second && "Expect the key was not in the cache");
+ (void)InsertResult;
return ZExt;
}
More information about the llvm-commits
mailing list