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

Issue 2342283002: [turbofan] Constant-fold some ObjectIs checks based on feedback type. (Closed)

Created:
4 years, 3 months ago by Benedikt Meurer
Modified:
4 years, 3 months ago
Reviewers:
mvstanton, Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Constant-fold some ObjectIs checks based on feedback type. During feedback typing (in SimplifiedLowering) we might be able to constant-fold a bunch of ObjectIs<Type> predicates, i.e. because we took type feedback on the input or we narrowed the type of a Phi because of type feedback. R=mvstanton@chromium.org BUG=v8:5267, v8:5270 Committed: https://crrev.com/347931e6273484c97c7b6e065f6b0e500ed089f6 Cr-Commit-Position: refs/heads/master@{#39468}

Patch Set 1 #

Patch Set 2 : REBASE #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -6 lines) Patch
M src/compiler/simplified-lowering.cc View 2 chunks +41 lines, -6 lines 2 comments Download

Messages

Total messages: 16 (8 generated)
Benedikt Meurer
4 years, 3 months ago (2016-09-16 07:31:12 UTC) #1
Benedikt Meurer
Hey Michael, Here's some low-hanging fruit to pick. Please take a look. Thanks, Benedikt
4 years, 3 months ago (2016-09-16 07:31:42 UTC) #4
mvstanton
lgtm
4 years, 3 months ago (2016-09-16 08:52:51 UTC) #7
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/2342283002/20001
4 years, 3 months ago (2016-09-16 08:55:40 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-16 09:20:15 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/347931e6273484c97c7b6e065f6b0e500ed089f6 Cr-Commit-Position: refs/heads/master@{#39468}
4 years, 3 months ago (2016-09-16 09:21:20 UTC) #13
Jarin
https://codereview.chromium.org/2342283002/diff/20001/src/compiler/simplified-lowering.cc File src/compiler/simplified-lowering.cc (right): https://codereview.chromium.org/2342283002/diff/20001/src/compiler/simplified-lowering.cc#newcode917 src/compiler/simplified-lowering.cc:917: VisitUnop(node, UseInfo::None(), MachineRepresentation::kBit); Does it really buy you anything ...
4 years, 3 months ago (2016-09-16 15:37:11 UTC) #15
Benedikt Meurer
4 years, 3 months ago (2016-09-16 17:14:33 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/2342283002/diff/20001/src/compiler/simplified...
File src/compiler/simplified-lowering.cc (right):

https://codereview.chromium.org/2342283002/diff/20001/src/compiler/simplified...
src/compiler/simplified-lowering.cc:917: VisitUnop(node, UseInfo::None(),
MachineRepresentation::kBit);
I guess that would work. Do you want me to change that?

Powered by Google App Engine
This is Rietveld 408576698