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

Issue 2022913003: [turbofan] Implement simplistic checkpoint reducer. (Closed)

Created:
4 years, 6 months ago by Michael Starzinger
Modified:
4 years, 6 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Implement simplistic checkpoint reducer. This adds a very simplistic reduction of {CheckPoint} nodes via the new {CheckpointElimination}, eliminating redundant check points that appear in an effect chain of operations that are all {kNoWrite}. Such a chain allows an arbitrary check point to be chosen. The current approach will end up choosing the first one for all deopts in the chain. R=bmeurer@chromium.org TEST=unittests/CheckpointEliminationTest.CheckPointChain BUG=v8:5021 Committed: https://crrev.com/7ecf1a059b4f264a3521bd4e16828248ece0606f Cr-Commit-Position: refs/heads/master@{#36634}

Patch Set 1 #

Patch Set 2 : Move into separate reducer. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -0 lines) Patch
M BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A src/compiler/checkpoint-elimination.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A src/compiler/checkpoint-elimination.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A test/unittests/compiler/checkpoint-elimination-unittest.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
Michael Starzinger
4 years, 6 months ago (2016-05-31 11:27:05 UTC) #1
Michael Starzinger
PTAL. Moved into separate reducer as per offline comment.
4 years, 6 months ago (2016-05-31 14:57:55 UTC) #2
Benedikt Meurer
LGTM with comment. We should really rename CheckPoint to Checkpoint, tho, I agree. https://codereview.chromium.org/2022913003/diff/20001/src/compiler/checkpoint-elimination.cc File ...
4 years, 6 months ago (2016-06-01 04:05:22 UTC) #4
Michael Starzinger
Thanks! Addressed comments. Will do the rename in a separate CL. https://codereview.chromium.org/2022913003/diff/20001/src/compiler/checkpoint-elimination.cc File src/compiler/checkpoint-elimination.cc (right): ...
4 years, 6 months ago (2016-06-01 08:11:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022913003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022913003/40001
4 years, 6 months ago (2016-06-01 08:32:01 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-01 08:38:41 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 08:39:17 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7ecf1a059b4f264a3521bd4e16828248ece0606f
Cr-Commit-Position: refs/heads/master@{#36634}

Powered by Google App Engine
This is Rietveld 408576698