mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 22:30:12 +00:00
[C++11,ARM64] Range based for loops TLS cleanup.
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e2ab67a19
commit
86ae767ea4
@ -80,9 +80,8 @@ struct LDTLSCleanup : public MachineFunctionPass {
|
||||
}
|
||||
|
||||
// Visit the children of this block in the dominator tree.
|
||||
for (MachineDomTreeNode::iterator I = Node->begin(), E = Node->end();
|
||||
I != E; ++I) {
|
||||
Changed |= VisitNode(*I, TLSBaseAddrReg);
|
||||
for (auto N : *Node) {
|
||||
Changed |= VisitNode(N, TLSBaseAddrReg);
|
||||
}
|
||||
|
||||
return Changed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user