summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorArtem Serov <artem.serov@linaro.org>2017-12-07 14:36:01 +0000
committerArtem Serov <artem.serov@linaro.org>2017-12-13 19:18:13 +0000
commit09faaea17b75269805b4857ed3c9cd04c7273959 (patch)
tree7794d83f6dd20acdcbb4ee7a075d6ea8f4590b42 /compiler/optimizing/graph_visualizer.cc
parent03376f4c4de8e419402bf40fdff4135728ffb21e (diff)
ART: Fix single-preheader transformation.
Original implementation of "Make sure the loop has only one pre-header" had an assumption that the header had no phi functions since loops with multiple preheaders now only may exist during graph building before ssa construction; all of the optimizations preserve the single-preheader invariant. This code is used by DCE; DCE was called multiple times but after graph building preheader transformation was never executed. However if someone introduces a optimization which might not keep the invariant (e.g. loop peeling) the data flow adjustments must be performed. Test: loop_optimization_test.cc Test: test-art-target, test-art-host Change-Id: I88bb0aad2dd5241addef7fe9cda474a6868bf532
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions