summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExecutionDepsFix.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-09 16:54:49 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-09 16:54:49 +0000
commit8f11e1a7139dde3a98409d3286749e773712441c (patch)
tree9ffd53ced6fe7740991f9f1111ed37246874c769 /llvm/lib/CodeGen/ExecutionDepsFix.cpp
parent8f39941669d7579b226770316f1af39a343a5d2a (diff)
downloadbcm5719-llvm-8f11e1a7139dde3a98409d3286749e773712441c.tar.gz
bcm5719-llvm-8f11e1a7139dde3a98409d3286749e773712441c.zip
CodeGen: Start removing implicit conversions to/from list iterators, NFC
Start removing implicit conversions to/from list iterators in CodeGen, ala r249782 for IR. A lot more to go after this. llvm-svn: 249851
Diffstat (limited to 'llvm/lib/CodeGen/ExecutionDepsFix.cpp')
-rw-r--r--llvm/lib/CodeGen/ExecutionDepsFix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
index 3eee1e2e7f0..deacb233f17 100644
--- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp
+++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp
@@ -751,7 +751,7 @@ bool ExeDepsFix::runOnMachineFunction(MachineFunction &mf) {
AliasMap[*AI].push_back(i);
}
- MachineBasicBlock *Entry = MF->begin();
+ MachineBasicBlock *Entry = &*MF->begin();
ReversePostOrderTraversal<MachineBasicBlock*> RPOT(Entry);
SmallVector<MachineBasicBlock*, 16> Loops;
for (ReversePostOrderTraversal<MachineBasicBlock*>::rpo_iterator
OpenPOWER on IntegriCloud