diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-09-09 23:41:11 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-09-09 23:41:11 +0000 |
commit | 12d825d9ca568bee85a9b31e3739d9af291dad28 (patch) | |
tree | 51d39ca6375348d6bb86359dd5a43496a329bf4a /llvm/lib/Transforms/Scalar/GVN.cpp | |
parent | 74bf42c9a17085edf58f07a5adc70d4dace65ad4 (diff) | |
download | bcm5719-llvm-12d825d9ca568bee85a9b31e3739d9af291dad28.tar.gz bcm5719-llvm-12d825d9ca568bee85a9b31e3739d9af291dad28.zip |
Move spaces to the right places. No functionality change.
llvm-svn: 163485
Diffstat (limited to 'llvm/lib/Transforms/Scalar/GVN.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/GVN.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp index bce43bbdae7..16ae6add863 100644 --- a/llvm/lib/Transforms/Scalar/GVN.cpp +++ b/llvm/lib/Transforms/Scalar/GVN.cpp @@ -271,16 +271,16 @@ void ValueTable::add(Value *V, uint32_t num) { valueNumbering.insert(std::make_pair(V, num)); } -uint32_t ValueTable::lookup_or_add_call(CallInst* C) { +uint32_t ValueTable::lookup_or_add_call(CallInst *C) { if (AA->doesNotAccessMemory(C)) { Expression exp = create_expression(C); - uint32_t& e = expressionNumbering[exp]; + uint32_t &e = expressionNumbering[exp]; if (!e) e = nextValueNumber++; valueNumbering[C] = e; return e; } else if (AA->onlyReadsMemory(C)) { Expression exp = create_expression(C); - uint32_t& e = expressionNumbering[exp]; + uint32_t &e = expressionNumbering[exp]; if (!e) { e = nextValueNumber++; valueNumbering[C] = e; @@ -413,7 +413,7 @@ uint32_t ValueTable::lookup_or_add(Value *V) { case Instruction::LShr: case Instruction::AShr: case Instruction::And: - case Instruction::Or : + case Instruction::Or: case Instruction::Xor: case Instruction::ICmp: case Instruction::FCmp: |