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

Issue 2638053002: [turbofan] Do not reduce Return nodes with multiple value inputs. (Closed)

Created:
3 years, 11 months ago by ahaas
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Do not reduce Return nodes with multiple value inputs. The existing implementation assumes that return nodes have exactly one real value input. This assumption does not hold for WebAssembly. To avoid incorrect behavior, this CL turns of the reduction of returns with a value input count != 1. R=titzer@chromium.org, mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2638053002 Cr-Commit-Position: refs/heads/master@{#42425} Committed: https://chromium.googlesource.com/v8/v8/+/cfa6ce3232bb402ab9ecd9c201ab840560cbefcf

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a comment and a TODO #

Patch Set 3 : Add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
M src/compiler/common-operator.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/common-operator.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/common-operator-reducer.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M test/unittests/compiler/common-operator-reducer-unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
ahaas
3 years, 11 months ago (2017-01-17 16:01:42 UTC) #1
titzer
lgtm if comment is added https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc File src/compiler/common-operator-reducer.cc (right): https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc#newcode300 src/compiler/common-operator-reducer.cc:300: if (NodeProperties::PastValueIndex(node) != 2) ...
3 years, 11 months ago (2017-01-17 16:08:22 UTC) #4
titzer
https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc File src/compiler/common-operator-reducer.cc (right): https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc#newcode300 src/compiler/common-operator-reducer.cc:300: if (NodeProperties::PastValueIndex(node) != 2) { Please also use the ...
3 years, 11 months ago (2017-01-17 16:43:21 UTC) #7
ahaas
https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc File src/compiler/common-operator-reducer.cc (right): https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc#newcode300 src/compiler/common-operator-reducer.cc:300: if (NodeProperties::PastValueIndex(node) != 2) { On 2017/01/17 at 16:08:22, ...
3 years, 11 months ago (2017-01-17 17:35:54 UTC) #10
titzer
On 2017/01/17 17:35:54, ahaas wrote: > https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc > File src/compiler/common-operator-reducer.cc (right): > > https://codereview.chromium.org/2638053002/diff/1/src/compiler/common-operator-reducer.cc#newcode300 > ...
3 years, 11 months ago (2017-01-17 17:46:00 UTC) #11
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/2638053002/40001
3 years, 11 months ago (2017-01-17 18:34:39 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 19:01:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/cfa6ce3232bb402ab9ecd9c201ab840560c...

Powered by Google App Engine
This is Rietveld 408576698