projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520eeae
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165867
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SROA.cpp
b/lib/Transforms/Scalar/SROA.cpp
index 34c238ed1541f4f78d15224fdf4404ee6b1d4695..7e206f0bcec77033a619e5d55f064015f0b3c291 100644
(file)
--- 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");