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

Issue 14872002: Improve load forwarding: (Closed)

Created:
7 years, 7 months ago by Vyacheslav Egorov (Google)
Modified:
7 years, 7 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve load forwarding: - stores/loads that access different fields can't alias each other; - if result of the AllocateObject does not escape then stores/loads to it does not alias stores/loads to other objects. Other: - rename LoadFieldInstr's value to instance to better convey meaning and match StoreInstanceFieldInstr; - slightly bump inlining_size_threshold; - canonicalize UnboxDouble(BoxDouble(v)) and BoxDouble(UnboxDouble(v)) patterns; R=srdjan@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=22340

Patch Set 1 #

Total comments: 6

Patch Set 2 : address Srdjan's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -59 lines) Patch
M runtime/vm/compiler.cc View 1 2 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_inliner.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 3 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 15 chunks +117 lines, -38 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/il_printer.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 8 chunks +25 lines, -7 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Google)
7 years, 7 months ago (2013-05-02 20:43:03 UTC) #1
srdjan
LGTM https://codereview.chromium.org/14872002/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/14872002/diff/1/runtime/vm/flow_graph_builder.cc#newcode2637 runtime/vm/flow_graph_builder.cc:2637: load->set_field(&Field::ZoneHandle(node->field().raw())); That works, but I wonder why you ...
7 years, 7 months ago (2013-05-02 21:00:54 UTC) #2
Vyacheslav Egorov (Google)
Thanks for the review. Comments addressed. Landing. https://codereview.chromium.org/14872002/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/14872002/diff/1/runtime/vm/flow_graph_builder.cc#newcode2637 runtime/vm/flow_graph_builder.cc:2637: load->set_field(&Field::ZoneHandle(node->field().raw())); On ...
7 years, 7 months ago (2013-05-02 21:20:25 UTC) #3
Vyacheslav Egorov (Google)
7 years, 7 months ago (2013-05-02 21:21:03 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r22340 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698