summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-02-25 06:38:51 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-02-25 06:38:51 +0000
commitdc835c4361481a51eeab6aa035fc832331aa15ee (patch)
tree895f38129ac88e2db453cf27880446177c9c879d /llvm/lib
parent6b718f73a5d8f049b379bd3e1f0924940a9554c7 (diff)
downloadbcm5719-llvm-dc835c4361481a51eeab6aa035fc832331aa15ee.tar.gz
bcm5719-llvm-dc835c4361481a51eeab6aa035fc832331aa15ee.zip
Correct whitespace.
llvm-svn: 97120
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/ArgumentPromotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
index e769d17cdac..7cb13671bca 100644
--- a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud