diff options
author | Serguei Katkov <serguei.i.katkov@intel.com> | 2015-08-10 12:59:02 +0600 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-08-11 14:14:57 +0100 |
commit | 2f2f17399f6bdfc5ec94a875152c31ef79620520 (patch) | |
tree | baee66b77018f41f22e0ca8942de9cba40681d60 /compiler/utils/assembler.cc | |
parent | f24576a7233ec708d49badb239cd7336c2b0f07e (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
Change-Id: I48ee0bd4386419b0f9c814c21b3537a392518cd1
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Diffstat (limited to 'compiler/utils/assembler.cc')
0 files changed, 0 insertions, 0 deletions