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

Issue 2668903002: [turbofan] Also push Return into Merge even if there's no EffectPhi. (Closed)

Created:
3 years, 10 months ago by Benedikt Meurer
Modified:
3 years, 10 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Also push Return into Merge even if there's no EffectPhi. We already had an optimization in the CommonOperatorReducer that would duplicate a Return with Phi, EffectPhi and Merge inputs into the respective branches. But we can also do the same if the effect input of the Return dominates all branches, i.e. if the Return and Phi nodes are the only users of the Merge node. This helps with the awkward code generation that we currently observe for || and && in return position. R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2668903002 Cr-Commit-Position: refs/heads/master@{#42839} Committed: https://chromium.googlesource.com/v8/v8/+/44cac16f48f0f2fe8692e4b4410598640a1a2a26

Patch Set 1 #

Patch Set 2 : REBASE #

Patch Set 3 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -23 lines) Patch
M src/compiler/common-operator-reducer.cc View 1 chunk +59 lines, -23 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (11 generated)
Benedikt Meurer
3 years, 10 months ago (2017-02-01 06:13:14 UTC) #1
Jarin
lgtm
3 years, 10 months ago (2017-02-01 08:00:01 UTC) #6
Jarin
lgtm
3 years, 10 months ago (2017-02-01 08:11:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2668903002/40001
3 years, 10 months ago (2017-02-01 08:32:12 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 08:59:34 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/44cac16f48f0f2fe8692e4b4410598640a1...

Powered by Google App Engine
This is Rietveld 408576698