summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.i.katkov@intel.com>2015-08-10 12:59:02 +0600
committerVladimir Marko <vmarko@google.com>2015-08-11 17:00:26 +0100
commit0d9982daaff119e709d0424a700042751120bd60 (patch)
tree65de60222d10945584b13fc0aad224919f37c800 /compiler/optimizing/graph_visualizer.cc
parent168387df8dcbae1b51f124eed84daf8e8de6a974 (diff)
ART: Fix Quick's DCE+GVN
DCE_GVN does not take into account the following case: mov a, b ... mov c, b when optimization tries to replace a with c it must ensure that for all uses of a there is no new definition of c before use. Otherwise that use will incorrectly substituted with new c instead of original b. Bug: 23102860 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com> (cherry picked from commit 2f2f17399f6bdfc5ec94a875152c31ef79620520) Change-Id: I1f08c99cedbe4fd1b96cad11f17d60ab551c7cf7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions