diff options
-rw-r--r-- | lib/Transforms/Scalar/SROA.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/SROA.cpp b/lib/Transforms/Scalar/SROA.cpp index 34c238ed15..7e206f0bce 100644 --- a/lib/Transforms/Scalar/SROA.cpp +++ b/lib/Transforms/Scalar/SROA.cpp @@ -2490,6 +2490,7 @@ private: 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"); |