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

Issue 2728983002: [wasm] change reducer order in WASM pipeline to make build predictable again (Closed)

Created:
3 years, 9 months ago by Tobias Tebbi
Modified:
3 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] change reducer order in WASM pipeline to make build predictable again BinopMatcher does not notify the reducers using it when it flips inputs to commutative operators. This leads to value numbering not being re-executed in this case. Together with the fact that value numbering might still reduce such a modified node in the case of a hash collision merging the buckets of two equivalent nodes, this leads to unpredictable behaviour. This is the easiest fix for the problem: Always running value numbering last. This is also a performance improvement because value numbering never changes but only replaces nodes. R=mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2728983002 Cr-Commit-Position: refs/heads/master@{#43552} Committed: https://chromium.googlesource.com/v8/v8/+/12ce15c35b0b457cacc20d53718114969cdd7414

Patch Set 1 #

Patch Set 2 : added todo #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/builtins/builtins.h View 1 chunk +1 line, -1 line 2 comments Download
M src/compiler/node-matchers.h View 1 1 chunk +3 lines, -0 lines 1 comment Download
M src/compiler/pipeline.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (4 generated)
Tobias Tebbi
https://codereview.chromium.org/2728983002/diff/20001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2728983002/diff/20001/src/builtins/builtins.h#newcode889 src/builtins/builtins.h:889: enum Name : int32_t { drive-by fix to recover ...
3 years, 9 months ago (2017-03-02 10:28:38 UTC) #1
Michael Starzinger
LGTM. https://codereview.chromium.org/2728983002/diff/20001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2728983002/diff/20001/src/builtins/builtins.h#newcode889 src/builtins/builtins.h:889: enum Name : int32_t { On 2017/03/02 10:28:38, ...
3 years, 9 months ago (2017-03-02 16:38:36 UTC) #2
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/2728983002/20001
3 years, 9 months ago (2017-03-02 16:40:03 UTC) #4
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 17:53:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/12ce15c35b0b457cacc20d53718114969cd...

Powered by Google App Engine
This is Rietveld 408576698