diff options
author | Mingyao Yang <mingyao@google.com> | 2016-10-14 16:26:08 -0700 |
---|---|---|
committer | Mingyao Yang <mingyao@google.com> | 2016-10-17 12:20:08 -0700 |
commit | 0a845200354f5dc3a3344c35823d2614cd5850ef (patch) | |
tree | 1c0d779c5b90f58e7088773434cc35d7eff6ab39 /compiler/optimizing/graph_visualizer.cc | |
parent | c25dfeab1a66c942ae658fc7cd367f7c1ac502a1 (diff) |
More store/allocation elimination for singletons in case of loops
For a store into a singleton's location, if it happens inside a loop, it
means the singleton's location value may be killed by loop side effects.
However if the singleton is defined inside that loop, that loop should
be skipped since its loop side effects kill values at loop header where
the singleton's location doesn't exist yet.
Test: test-art-host
Bug: 31716107
Change-Id: Iae2494ea93295977f90d1463ee136a7e2e09ba9b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions