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

Issue 10872035: Add a simple dominator based redundancy elimination. (Closed)

Created:
8 years, 4 months ago by Florian Schneider
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add a simple dominator based redundancy elimination. It enables elimination of redundant expressions across basic blocks. Currently used for smi checks and class checks, but will be extended to other expressions in a separate CL. Committed: https://code.google.com/p/dart/source/detail?r=11227

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -35 lines) Patch
M runtime/vm/compiler.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +37 lines, -21 lines 2 comments Download
M runtime/vm/hash_map.h View 3 chunks +17 lines, -2 lines 0 comments Download
M runtime/vm/hash_map_test.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Florian Schneider
8 years, 4 months ago (2012-08-23 12:46:19 UTC) #1
Kevin Millikin (Google)
LGTM! https://chromiumcodereview.appspot.com/10872035/diff/6001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://chromiumcodereview.appspot.com/10872035/diff/6001/runtime/vm/flow_graph_optimizer.cc#newcode990 runtime/vm/flow_graph_optimizer.cc:990: if (i < num_children - 1) { There's ...
8 years, 4 months ago (2012-08-23 13:12:39 UTC) #2
Florian Schneider
8 years, 4 months ago (2012-08-23 13:17:50 UTC) #3
https://chromiumcodereview.appspot.com/10872035/diff/6001/runtime/vm/flow_gra...
File runtime/vm/flow_graph_optimizer.cc (right):

https://chromiumcodereview.appspot.com/10872035/diff/6001/runtime/vm/flow_gra...
runtime/vm/flow_graph_optimizer.cc:990: if (i  < num_children - 1) {
On 2012/08/23 13:12:39, kmillikin wrote:
> There's an extra space here for some reason.

Done.

Powered by Google App Engine
This is Rietveld 408576698