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

Issue 425003004: Implement representation selection as part of SimplifiedLowering. Representation selection also req… (Closed)

Created:
6 years, 4 months ago by titzer
Modified:
6 years, 4 months ago
Reviewers:
rossberg
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Implement representation selection as part of SimplifiedLowering. Representation selection also requires inserting explicit representation change nodes to be inserted in the graph. Such nodes are pure, but also need to be lowered to machine operators. They need to be scheduled first, to determine the control input for any branches inside. This CL requires extensive testing. More tests to follow. R=rossberg@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=23026

Patch Set 1 #

Patch Set 2 : Added better tests for Load/Store of fields and elements, with both tagged and untagged bases. #

Total comments: 17

Patch Set 3 : Add more tests. #

Patch Set 4 : Address review comments. #

Total comments: 3

Patch Set 5 : Address review comments. #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : Fix more compiler warnings. #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1901 lines, -237 lines) Patch
M src/compiler/lowering-builder.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M src/compiler/node-properties.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/representation-change.h View 1 2 3 4 5 6 7 8 9 3 chunks +41 lines, -6 lines 0 comments Download
M src/compiler/simplified-lowering.h View 2 chunks +18 lines, -13 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 3 4 5 6 7 8 9 7 chunks +724 lines, -51 lines 0 comments Download
M test/cctest/compiler/call-tester.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M test/cctest/compiler/test-changes-lowering.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +1103 lines, -158 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rossberg
https://codereview.chromium.org/425003004/diff/20001/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/425003004/diff/20001/src/compiler/js-typed-lowering.cc#newcode518 src/compiler/js-typed-lowering.cc:518: if (input_type->Is(Type::Number())) { Why is this duplicated? https://codereview.chromium.org/425003004/diff/20001/src/compiler/simplified-lowering.cc File ...
6 years, 4 months ago (2014-08-06 13:04:08 UTC) #1
titzer
On 2014/08/06 13:04:08, rossberg wrote: > https://codereview.chromium.org/425003004/diff/20001/src/compiler/js-typed-lowering.cc > File src/compiler/js-typed-lowering.cc (right): > > https://codereview.chromium.org/425003004/diff/20001/src/compiler/js-typed-lowering.cc#newcode518 > ...
6 years, 4 months ago (2014-08-07 10:51:33 UTC) #2
rossberg
On 2014/08/07 10:51:33, titzer wrote: > On 2014/08/06 13:04:08, rossberg wrote: > https://codereview.chromium.org/425003004/diff/20001/src/compiler/simplified-lowering.cc > > ...
6 years, 4 months ago (2014-08-07 13:26:47 UTC) #3
rossberg
https://codereview.chromium.org/425003004/diff/60001/src/compiler/node-properties.h File src/compiler/node-properties.h (left): https://codereview.chromium.org/425003004/diff/60001/src/compiler/node-properties.h#oldcode43 src/compiler/node-properties.h:43: private: Wait, why? https://codereview.chromium.org/425003004/diff/60001/src/compiler/node-sketch.cc File src/compiler/node-sketch.cc (right): https://codereview.chromium.org/425003004/diff/60001/src/compiler/node-sketch.cc#newcode41 src/compiler/node-sketch.cc:41: ...
6 years, 4 months ago (2014-08-07 14:00:45 UTC) #4
titzer
On 2014/08/07 13:26:47, rossberg wrote: > On 2014/08/07 10:51:33, titzer wrote: > > On 2014/08/06 ...
6 years, 4 months ago (2014-08-08 09:15:52 UTC) #5
titzer
https://codereview.chromium.org/425003004/diff/20001/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/425003004/diff/20001/src/compiler/simplified-lowering.cc#newcode32 src/compiler/simplified-lowering.cc:32: enum Phase { On 2014/08/06 13:04:07, rossberg wrote: > ...
6 years, 4 months ago (2014-08-08 09:16:14 UTC) #6
rossberg
lgtm
6 years, 4 months ago (2014-08-08 11:33:30 UTC) #7
titzer
6 years, 4 months ago (2014-08-11 09:40:13 UTC) #8
Message was sent while issue was closed.
Committed patchset #12 manually as 23026 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698