summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-05-05 11:27:03 +0100
committerDavid Brazdil <dbrazdil@google.com>2016-05-05 16:44:29 +0100
commit5a620590e5cf6d6817693edffd661371555de88b (patch)
tree16f93fac9b5ec42bd8574acb6535ddd1dcc9f61f /compiler/optimizing/graph_visualizer.cc
parenta69ae8ab13d07fb3b03596a9b9049b3292dd0b20 (diff)
Stop populating irreducible loop at header
Recent CL modified the (previously exponential) algorithm for populating irreducible loops so as to not visit blocks multiple times. However, the new condition for an early exit did not take into account that it is not necessary to visit predecessors of the loop header. The algorithm remains correct but does unnecessary work. Bug: 27856014 Change-Id: If72f8be82e79838f0dd9678082a3bbaabb51e43b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions