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:
c901719
)
Correct whitespace.
author
Nick Lewycky
<nicholas@mxc.ca>
Thu, 25 Feb 2010 06:38:51 +0000
(06:38 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Thu, 25 Feb 2010 06:38:51 +0000
(06:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97120
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/ArgumentPromotion.cpp
b/lib/Transforms/IPO/ArgumentPromotion.cpp
index e769d17cdaccf17749a3538588153151c27b6a2d..7cb13671bca57c05a8c6383937a519501c06129e 100644
(file)
--- a/
lib/Transforms/IPO/ArgumentPromotion.cpp
+++ b/
lib/Transforms/IPO/ArgumentPromotion.cpp
@@
-317,7
+317,7
@@
bool ArgPromotion::isSafeToPromoteArgument(Argument *Arg, bool isByVal) const {
GEPIndicesSet ToPromote;
// If the pointer is always valid, any load with first index 0 is valid.
- if(isByVal || AllCalleesPassInValidPointerForArgument(Arg))
+ if
(isByVal || AllCalleesPassInValidPointerForArgument(Arg))
SafeToUnconditionallyLoad.insert(IndicesVector(1, 0));
// First, iterate the entry block and mark loads of (geps of) arguments as