diff options
Diffstat (limited to 'lib/Target/ARM64/ARM64ConditionalCompares.cpp')
-rw-r--r-- | lib/Target/ARM64/ARM64ConditionalCompares.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM64/ARM64ConditionalCompares.cpp b/lib/Target/ARM64/ARM64ConditionalCompares.cpp index cefa44ad96..759e8b7df4 100644 --- a/lib/Target/ARM64/ARM64ConditionalCompares.cpp +++ b/lib/Target/ARM64/ARM64ConditionalCompares.cpp @@ -908,7 +908,7 @@ bool ARM64ConditionalCompares::runOnMachineFunction(MachineFunction &MF) { // Note that updateDomTree() modifies the children of the DomTree node // currently being visited. The df_iterator supports that; it doesn't look at // child_begin() / child_end() until after a node has been visited. - for (auto *I : make_range(df_begin(DomTree), df_end(DomTree))) + for (auto *I : depth_first(DomTree)) if (tryConvert(I->getBlock())) Changed = true; |