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

Issue 2656243004: [turbofan] Only use Tagged machine representation for tagged state values. (Closed)

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

Description

[turbofan] Only use Tagged machine representation for tagged state values. This avoids using kTaggedSigned and kTaggedPointer because the semantic information of those type could be invalid in unreachable code. For example, SmiCheck(0.1) has representation TaggedSigned, but it is later compiled to DeoptimizeUnless(ObjectIsSmi(0.1)) with the constant 0.1 directly connected to the uses. If the use is state-values, which recorded the TaggedSigned representation of CheckSmi, the code generator will be confused because it will see constant 0.1 that claims to be TaggedSigned value. BUG=chromium:675704 Review-Url: https://codereview.chromium.org/2656243004 Cr-Commit-Position: refs/heads/master@{#42756} Committed: https://chromium.googlesource.com/v8/v8/+/6cd2d4ba41d7adc83f993620fe2e43ab8277e476

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -63 lines) Patch
M src/compiler/code-generator.cc View 4 chunks +16 lines, -29 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 4 chunks +28 lines, -34 lines 0 comments Download
A test/mjsunit/compiler/regress-675704.js View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Jarin
Could you take a look, please?
3 years, 10 months ago (2017-01-27 12:29:12 UTC) #4
Benedikt Meurer
LGTM.
3 years, 10 months ago (2017-01-27 12:30:24 UTC) #5
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/2656243004/1
3 years, 10 months ago (2017-01-28 16:31:51 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_verify_csa_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_verify_csa_rel_ng/builds/27) v8_linux_verify_csa_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-01-28 16:36:55 UTC) #10
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/2656243004/1
3 years, 10 months ago (2017-01-28 17:05:29 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 17:25:53 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/6cd2d4ba41d7adc83f993620fe2e43ab827...

Powered by Google App Engine
This is Rietveld 408576698