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

Issue 1462503005: [turbofan] Simplified lowering - introduce the concept of UseInfo. (Closed)

Created:
5 years, 1 month ago by Jarin
Modified:
5 years, 1 month ago
Reviewers:
Benedikt Meurer
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

[turbofan] Simplified lowering - introduce the concept of UseInfo. This CL introduces a concept of UseInfo (but internally it still uses machine types). The idea of UseInfo is to separate the concept of truncation (what information is actually used by the user node) and the concept of preferred representation. At the moment, the truncation is (clumsily) represented by the type part of the underlying machine type (UseInfo::type_). Moreover, in this CL, we never specify the signedness of the use because use signedness does not really make sense: - if we care about the sign, it should be in the input's type (this is DCHECKed). - if we do not care (e.g., trunctaing word32), then it should not be necessary. (And it is upto the user how it interprets the bits.) Committed: https://crrev.com/e44c3238313b379910d0b535a9cefee6add7b1d4 Cr-Commit-Position: refs/heads/master@{#32110}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix #

Patch Set 3 : struct -> class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -146 lines) Patch
M src/compiler/code-generator.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/representation-change.h View 3 chunks +7 lines, -2 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 35 chunks +284 lines, -143 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Jarin
Could you take a look, please?
5 years, 1 month ago (2015-11-19 10:29:22 UTC) #4
Benedikt Meurer
LGTM with nit https://codereview.chromium.org/1462503005/diff/1/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/1462503005/diff/1/src/compiler/simplified-lowering.cc#newcode73 src/compiler/simplified-lowering.cc:73: struct UseInfo { Nit: class please
5 years, 1 month ago (2015-11-19 10:38:31 UTC) #5
Jarin
https://codereview.chromium.org/1462503005/diff/1/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/1462503005/diff/1/src/compiler/simplified-lowering.cc#newcode73 src/compiler/simplified-lowering.cc:73: struct UseInfo { On 2015/11/19 10:38:31, Benedikt Meurer wrote: ...
5 years, 1 month ago (2015-11-19 10:44:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462503005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462503005/40001
5 years, 1 month ago (2015-11-19 10:45:23 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-19 11:09:31 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 11:10:02 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e44c3238313b379910d0b535a9cefee6add7b1d4
Cr-Commit-Position: refs/heads/master@{#32110}

Powered by Google App Engine
This is Rietveld 408576698