[polly] r261956 - Fix a warning about an unused variable in release builds.
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 18:25:06 PST 2016
Author: chandlerc
Date: Thu Feb 25 20:25:06 2016
New Revision: 261956
URL: http://llvm.org/viewvc/llvm-project?rev=261956&view=rev
Log:
Fix a warning about an unused variable in release builds.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=261956&r1=261955&r2=261956&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu Feb 25 20:25:06 2016
@@ -617,6 +617,7 @@ void MemoryAccess::assumeNoOutOfBound()
void MemoryAccess::buildMemIntrinsicAccessRelation() {
auto MAI = MemAccInst(getAccessInstruction());
+ (void)MAI;
assert(MAI.isMemIntrinsic());
assert(Subscripts.size() == 2 && Sizes.size() == 0);
More information about the llvm-commits
mailing list