projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690c063
)
Silence a warning in -assert builds.
author
Chandler Carruth
<chandlerc@gmail.com>
Sat, 13 Oct 2012 05:09:27 +0000
(
05:09
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Sat, 13 Oct 2012 05:09:27 +0000
(
05:09
+0000)
llvm-svn: 165867
llvm/lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/SROA.cpp
b/llvm/lib/Transforms/Scalar/SROA.cpp
index
34c238e
..
7e206f0
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/
llvm/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");