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

Issue 2428443002: [wasm] Trim graph before scheduling. (Closed)

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

Description

[wasm] Trim graph before scheduling. The scheduler expects a trimmed graph, so we have to trim the graph before scheduling. R=titzer@chromium.org, bmeurer@chromium.org TEST=cctest/test-run-wasm/RunWasmCompiled_GraphTrimming Committed: https://crrev.com/990236825974e683640f9ca56ddd53e3e831a278 Cr-Commit-Position: refs/heads/master@{#40446}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove dead code. #

Patch Set 3 : Fix pair operations on 32 bit platforms. #

Patch Set 4 : The first projection node of a pair has to exist. #

Patch Set 5 : Also make the high word projection optional. #

Total comments: 9

Patch Set 6 : Comments addressed #

Patch Set 7 : Use proper temp registers if Projection(1) does not exist. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+456 lines, -173 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 1 chunk +18 lines, -9 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 3 4 5 6 2 chunks +83 lines, -77 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 4 5 6 2 chunks +65 lines, -34 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 2 chunks +22 lines, -12 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 1 chunk +12 lines, -6 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 2 3 4 5 6 2 chunks +39 lines, -18 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 6 chunks +13 lines, -10 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 3 4 5 7 chunks +107 lines, -3 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (28 generated)
ahaas
4 years, 2 months ago (2016-10-17 07:15:43 UTC) #1
Benedikt Meurer
LGTM once nit addressed. https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc#newcode1653 src/compiler/pipeline.cc:1653: // Run<LateGraphTrimmingPhase>(); Nit: Remove this ...
4 years, 2 months ago (2016-10-17 07:18:46 UTC) #4
ahaas
https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc#newcode1653 src/compiler/pipeline.cc:1653: // Run<LateGraphTrimmingPhase>(); On 2016/10/17 at 07:18:46, Benedikt Meurer wrote: ...
4 years, 2 months ago (2016-10-17 07:23:57 UTC) #7
titzer
On 2016/10/17 07:23:57, ahaas wrote: > https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc > File src/compiler/pipeline.cc (right): > > https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc#newcode1653 > ...
4 years, 2 months ago (2016-10-17 07:55:13 UTC) #10
Benedikt Meurer
https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc#newcode1653 src/compiler/pipeline.cc:1653: // Run<LateGraphTrimmingPhase>(); Thx!
4 years, 2 months ago (2016-10-17 08:38:14 UTC) #11
ahaas
On 2016/10/17 at 08:38:14, bmeurer wrote: > https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc > File src/compiler/pipeline.cc (right): > > https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc#newcode1653 ...
4 years, 2 months ago (2016-10-17 12:13:20 UTC) #16
titzer
On 2016/10/17 12:13:20, ahaas wrote: > On 2016/10/17 at 08:38:14, bmeurer wrote: > > https://codereview.chromium.org/2428443002/diff/1/src/compiler/pipeline.cc ...
4 years, 2 months ago (2016-10-17 12:21:14 UTC) #17
ahaas
On 2016/10/17 at 12:21:14, titzer wrote: > On 2016/10/17 12:13:20, ahaas wrote: > > On ...
4 years, 2 months ago (2016-10-17 12:36:28 UTC) #18
titzer
On 2016/10/17 12:36:28, ahaas wrote: > On 2016/10/17 at 12:21:14, titzer wrote: > > On ...
4 years, 2 months ago (2016-10-17 12:44:11 UTC) #21
ahaas
On 2016/10/17 at 12:44:11, titzer wrote: > On 2016/10/17 12:36:28, ahaas wrote: > > On ...
4 years, 2 months ago (2016-10-18 13:49:57 UTC) #24
ahaas
On 2016/10/18 at 13:49:57, ahaas wrote: > On 2016/10/17 at 12:44:11, titzer wrote: > > ...
4 years, 2 months ago (2016-10-19 09:15:43 UTC) #27
titzer
https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc#newcode743 src/compiler/ia32/instruction-selector-ia32.cc:743: outputs[output_count++] = g.DefineAsFixed(projection1, edx); This doesn't seem quite right. ...
4 years, 2 months ago (2016-10-19 09:20:43 UTC) #28
ahaas
https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc#newcode743 src/compiler/ia32/instruction-selector-ia32.cc:743: outputs[output_count++] = g.DefineAsFixed(projection1, edx); On 2016/10/19 at 09:20:42, titzer ...
4 years, 2 months ago (2016-10-19 09:59:19 UTC) #31
titzer
lgtm modulo last comment https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc#newcode743 src/compiler/ia32/instruction-selector-ia32.cc:743: outputs[output_count++] = g.DefineAsFixed(projection1, edx); On ...
4 years, 2 months ago (2016-10-19 11:07:08 UTC) #32
ahaas
On 2016/10/19 at 11:07:08, titzer wrote: > lgtm modulo last comment > > https://codereview.chromium.org/2428443002/diff/80001/src/compiler/ia32/instruction-selector-ia32.cc > ...
4 years, 2 months ago (2016-10-19 15:51:53 UTC) #37
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/2428443002/120001
4 years, 2 months ago (2016-10-19 16:12:50 UTC) #42
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-19 16:21:07 UTC) #43
bradn
Note this regresses performance for asm->wasm on Fasta, Primes, Box2d, Corrections, and others by approximately ...
4 years, 2 months ago (2016-10-24 01:06:01 UTC) #45
bradn
Oops, wrong link. Here's the right one: https://chromeperf.appspot.com/report?sid=fd3bfa4c0ff033c9fae08631292e2bd681c3812b1412f4f2f412d51b8ef0d677 Filling an issue: https://bugs.chromium.org/p/v8/issues/detail?id=5555
4 years, 2 months ago (2016-10-24 03:49:43 UTC) #46
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:07:02 UTC) #48
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/990236825974e683640f9ca56ddd53e3e831a278
Cr-Commit-Position: refs/heads/master@{#40446}

Powered by Google App Engine
This is Rietveld 408576698