Commit 0d9982da authored by Serguei Katkov's avatar Serguei Katkov Committed by Vladimir Marko
Browse files

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: default avatarSerguei Katkov <serguei.i.katkov@intel.com>

(cherry picked from commit 2f2f1739)

Change-Id: I1f08c99cedbe4fd1b96cad11f17d60ab551c7cf7
parent 168387df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment