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

Issue 1655883002: [wasm] Initial commit for the Int64Reducer. (Closed)

Created:
4 years, 10 months ago by ahaas
Modified:
4 years, 10 months ago
Reviewers:
titzer
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

[wasm] Initial commit for the Int64Reducer. The goal of the Int64Reducer is to replace all int64 nodes in a tf graph with a set of int32 nodes such that 64 bit tf functions can be executed on 32 bit platforms. At the moment the Int64Reducer only replaces Int64Constants, TruncateInt64ToInt32, and Word64And. R=titzer@chromium.org Committed: https://crrev.com/110173989818fff4b1fa5bebb09e56aa59ea9a6c Cr-Commit-Position: refs/heads/master@{#33721}

Patch Set 1 #

Patch Set 2 : Rename children to inputs #

Total comments: 13

Patch Set 3 : feedback addressed #

Total comments: 4

Patch Set 4 : rebase #

Patch Set 5 : Initialize replacement array #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -9 lines) Patch
M BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A src/compiler/int64-lowering.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A src/compiler/int64-lowering.cc View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 7 chunks +15 lines, -8 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ahaas
4 years, 10 months ago (2016-02-01 14:39:20 UTC) #1
titzer
https://codereview.chromium.org/1655883002/diff/20001/src/compiler/int64-reducer.cc File src/compiler/int64-reducer.cc (right): https://codereview.chromium.org/1655883002/diff/20001/src/compiler/int64-reducer.cc#newcode29 src/compiler/int64-reducer.cc:29: for (;;) { while (!stack.empty()) https://codereview.chromium.org/1655883002/diff/20001/src/compiler/int64-reducer.cc#newcode54 src/compiler/int64-reducer.cc:54: if (node->opcode() ...
4 years, 10 months ago (2016-02-02 10:14:35 UTC) #2
ahaas
https://codereview.chromium.org/1655883002/diff/20001/src/compiler/int64-reducer.cc File src/compiler/int64-reducer.cc (right): https://codereview.chromium.org/1655883002/diff/20001/src/compiler/int64-reducer.cc#newcode29 src/compiler/int64-reducer.cc:29: for (;;) { On 2016/02/02 at 10:14:35, titzer wrote: ...
4 years, 10 months ago (2016-02-02 13:32:48 UTC) #3
titzer
lgtm if below comments are addressed https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc#newcode23 src/compiler/int64-lowering.cc:23: replacements_(zone->NewArray<Replacement>(graph->NodeCount())) {} Maybe ...
4 years, 10 months ago (2016-02-03 15:36:29 UTC) #4
ahaas
https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc#newcode23 src/compiler/int64-lowering.cc:23: replacements_(zone->NewArray<Replacement>(graph->NodeCount())) {} On 2016/02/03 at 15:36:29, titzer wrote: > ...
4 years, 10 months ago (2016-02-03 15:48:40 UTC) #5
ahaas
https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc File src/compiler/int64-lowering.cc (right): https://codereview.chromium.org/1655883002/diff/40001/src/compiler/int64-lowering.cc#newcode23 src/compiler/int64-lowering.cc:23: replacements_(zone->NewArray<Replacement>(graph->NodeCount())) {} On 2016/02/03 at 15:48:40, ahaas wrote: > ...
4 years, 10 months ago (2016-02-04 09:08:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1655883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1655883002/80001
4 years, 10 months ago (2016-02-04 09:37:46 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-04 09:40:58 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 09:41:31 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/110173989818fff4b1fa5bebb09e56aa59ea9a6c
Cr-Commit-Position: refs/heads/master@{#33721}

Powered by Google App Engine
This is Rietveld 408576698