mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 01:15:36 +00:00
[ADCE] Fix formatting of pointer types
We prefer to put the * with the variable, not with the type; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13f4dc0217
commit
4090dfd7ba
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user