[llvm-commits] [llvm] r165867 - /llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Chandler Carruth
chandlerc at gmail.com
Fri Oct 12 22:09:27 PDT 2012
Author: chandlerc
Date: Sat Oct 13 00:09:27 2012
New Revision: 165867
URL: http://llvm.org/viewvc/llvm-project?rev=165867&view=rev
Log:
Silence a warning in -assert builds.
Modified:
llvm/trunk/lib/Transforms/Scalar/SROA.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=165867&r1=165866&r2=165867&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Sat Oct 13 00:09:27 2012
@@ -2490,6 +2490,7 @@
Value *NewV = convertValue(IRB, SI.getValueOperand(), NewAllocaTy);
StoreInst *NewSI = IRB.CreateAlignedStore(NewV, &NewAI, NewAI.getAlignment(),
SI.isVolatile());
+ (void)NewSI;
Pass.DeadInsts.push_back(&SI);
DEBUG(dbgs() << " to: " << *NewSI << "\n");
More information about the llvm-commits
mailing list