v8/test
bmeurer 733a246386 [turbofan] Proper dead code elimination as regular reducer.
The three different concerns that the ControlReducer used to deal with
are now properly separated into

  a.) DeadCodeElimination, which is a regular AdvancedReducer, that
      propagates Dead via control edges,
  b.) CommonOperatorReducer, which does strength reduction on common
      operators (i.e. Branch, Phi, and friends), and
  c.) GraphTrimming, which removes dead->live edges from the graph.

This will make it possible to run the DeadCodeElimination together with
other passes that actually introduce Dead nodes, i.e. typed lowering;
and it opens the door for general inlining without two stage fix point
iteration.

To make the DeadCodeElimination easier and more uniform, we basically
reverted the introduction of DeadValue and DeadEffect, and changed the
Dead operator to produce control, value and effect. Note however that
this is not a requirement, but merely a way to make dead propagation
easier and more uniform. We could always go back and decide to have
different Dead operators if some other change requires that.

Note that there are several additional opportunities for cleanup now,
i.e. OSR deconstruction could be a regular reducer now, and we don't
need to use TheHole as dead value marker in the GraphReducer. And we can
actually run the dead code elimination together with the other passes
instead of using separate passes over the graph.  We will do this in
follow up CLs.

R=jarin@chromium.org, mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/1193833002

Cr-Commit-Position: refs/heads/master@{#29146}
2015-06-19 12:07:26 +00:00
..
benchmarks [turbofan] Add single --turbo flag. 2015-04-16 16:28:39 +00:00
cctest [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
intl
js-perf-test Fixes for try-catch microbenchmark 2015-06-08 10:11:34 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message X87: enable the X87 turbofan support. 2015-06-16 11:23:19 +00:00
mjsunit Protect error message formatter against invalid string length. 2015-06-19 08:31:31 +00:00
mozilla [turbofan] Enable support for try-catch statements. 2015-06-11 10:50:55 +00:00
preparser
promises-aplus
simdjs Skip simdjs/shell_test_runner on big-endian platforms. 2015-05-27 18:55:55 +00:00
test262 [turbofan] Fix throwing conversion inserted by JSTypedLowering. 2015-06-12 04:42:14 +00:00
test262-es6 Revert of Update test262-es6 to 6/11 (patchset #2 id:40001 of https://codereview.chromium.org/1175313003/) 2015-06-17 06:53:04 +00:00
unittests [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
webkit Revert of [es6] ship Object.assign (patchset #2 id:20001 of https://codereview.chromium.org/1191003003/) 2015-06-18 19:15:36 +00:00