diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-02-15 15:47:52 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-02-15 15:47:52 +0000 |
commit | c6035cff5545c9f4b033439b282e45032caa6f5f (patch) | |
tree | 0fc1ea94d7303adfe375742e39f28bda2abd1b83 /llvm/lib | |
parent | 234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb (diff) | |
download | llvm-c6035cff5545c9f4b033439b282e45032caa6f5f.zip llvm-c6035cff5545c9f4b033439b282e45032caa6f5f.tar.gz llvm-c6035cff5545c9f4b033439b282e45032caa6f5f.tar.bz2 |
[ADCE] Fix formatting of pointer types
We prefer to put the * with the variable, not with the type; NFC.
llvm-svn: 229317
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/ADCE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index 4a00321..06a4dd9 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -69,10 +69,10 @@ bool ADCE::runOnFunction(Function& F) { // Propagate liveness backwards to operands. while (!Worklist.empty()) { - Instruction* Curr = Worklist.pop_back_val(); + Instruction *Curr = Worklist.pop_back_val(); for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end(); OI != OE; ++OI) - if (Instruction* Inst = dyn_cast<Instruction>(OI)) + if (Instruction *Inst = dyn_cast<Instruction>(OI)) if (Alive.insert(Inst).second) Worklist.push_back(Inst); } |