aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/ConstantMerge.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-01-15 18:42:52 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-01-15 18:42:52 +0000
commitcd7f0a1a7f216418856812f6417faf4fe5e72046 (patch)
treeb20ce4bc303d5c865181c5a9e37c5d208d2a9a0c /lib/Transforms/IPO/ConstantMerge.cpp
parent2820c25e847c76f241388446f6f3dd86e067403b (diff)
Add missing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ConstantMerge.cpp')
-rw-r--r--lib/Transforms/IPO/ConstantMerge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/ConstantMerge.cpp b/lib/Transforms/IPO/ConstantMerge.cpp
index 8efad05855..6b62f3bbf4 100644
--- a/lib/Transforms/IPO/ConstantMerge.cpp
+++ b/lib/Transforms/IPO/ConstantMerge.cpp
@@ -102,7 +102,7 @@ bool ConstantMerge::runOnModule(Module &M) {
}
// Only process constants with initializers in the default address space.
- if (!GV->isConstant() ||!GV->hasDefinitiveInitializer() ||
+ if (!GV->isConstant() || !GV->hasDefinitiveInitializer() ||
GV->getType()->getAddressSpace() != 0 || GV->hasSection() ||
// Don't touch values marked with attribute(used).
UsedGlobals.count(GV))
@@ -128,7 +128,7 @@ bool ConstantMerge::runOnModule(Module &M) {
GlobalVariable *GV = GVI++;
// Only process constants with initializers in the default address space.
- if (!GV->isConstant() ||!GV->hasDefinitiveInitializer() ||
+ if (!GV->isConstant() || !GV->hasDefinitiveInitializer() ||
GV->getType()->getAddressSpace() != 0 || GV->hasSection() ||
// Don't touch values marked with attribute(used).
UsedGlobals.count(GV))