summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/ADCE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/ADCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp
index 4a003217f93..06a4dd975b1 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);
}
OpenPOWER on IntegriCloud