Status Update
Comments
he...@google.com <he...@google.com>
sg...@google.com <sg...@google.com> #2
Right now we use AppInfoWithLiveness.lookup, which will do a single target lookup. This means that the assumenosideeffects rule will only be applied for invokes which has a single target. That still might not be the precise target mentioned in the rule.
js...@google.com <js...@google.com> #3
ap...@google.com <ap...@google.com> #4
Project: r8
Branch: master
commit 88f57ee620305d546ab5efe8ce2a03d2e2028762
Author: Jinseong Jeon <jsjeon@google.com>
Date: Thu Apr 25 09:26:32 2019
Add tests for assumenosideeffects with multiple targets.
Bug: 130804193, 70550443
Change-Id: I62110c3b67047f3e9974aa20735d8bb669ce4ca6
M src/main/java/com/android/tools/r8/ir/optimize/MemberValuePropagation.java
A src/test/java/com/android/tools/r8/shaking/assumenosideeffects/AssumenosideeffectsWithMultipleTargetsTest.java
https://r8-review.googlesource.com/37283
Branch: master
commit 88f57ee620305d546ab5efe8ce2a03d2e2028762
Author: Jinseong Jeon <jsjeon@google.com>
Date: Thu Apr 25 09:26:32 2019
Add tests for assumenosideeffects with multiple targets.
Bug: 130804193, 70550443
Change-Id: I62110c3b67047f3e9974aa20735d8bb669ce4ca6
M src/main/java/com/android/tools/r8/ir/optimize/MemberValuePropagation.java
A src/test/java/com/android/tools/r8/shaking/assumenosideeffects/AssumenosideeffectsWithMultipleTargetsTest.java
mk...@google.com <mk...@google.com> #5
Look into if this issue is fixed since there are still ignored tests with this bug-id.
Description
Example is com.android.tools.r8.shaking.TreeShakingTest assumenosideeffects2,