Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Issue 1928633002: VM: Fix illegal code motion. (Closed)

Created:
4 years, 7 months ago by Florian Schneider
Modified:
4 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Fix illegal code motion. Without tracking dependencies more explicitly we can't propagate the cid of values whose cid is guarded by a CheckClassId: The CheckClassId c may not be hoisted by LICM because it is guarded by a Redefinition r. However, after constant propagation and branch simplification code that was not previously dominated by c (and r) may become dominated by c and r. This code won't be using the redefined value r, but the original value and therefore LICM can illegally eliminated checks / hoist dependent loads. BUG= R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/b043314bce0e18e4b87f736d672f6b8dd60ccd6e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -11 lines) Patch
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +2 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Florian Schneider
4 years, 7 months ago (2016-04-27 16:46:38 UTC) #2
Vyacheslav Egorov (Google)
LGTM as a stop gap. Seems like a serious pessimization for polymorphic code. Could you ...
4 years, 7 months ago (2016-04-27 16:50:26 UTC) #3
Florian Schneider
On 2016/04/27 16:50:26, Vyacheslav Egorov (Google) wrote: > LGTM as a stop gap. > > ...
4 years, 7 months ago (2016-04-27 17:03:24 UTC) #4
Florian Schneider
4 years, 7 months ago (2016-04-27 17:05:25 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b043314bce0e18e4b87f736d672f6b8dd60ccd6e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698