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

Issue 100253004: First implementation of store elimination. (Closed)

Created:
7 years ago by titzer
Modified:
6 years, 9 months ago
CC:
v8-dev
Visibility:
Public.

Description

First implementation of store elimination. BUG= R=hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20224

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -41 lines) Patch
M src/flag-definitions.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 1 chunk +101 lines, -0 lines 2 comments Download
A + src/hydrogen-store-elimination.h View 1 1 chunk +14 lines, -14 lines 0 comments Download
A src/hydrogen-store-elimination.cc View 1 1 chunk +137 lines, -0 lines 0 comments Download
A + test/mjsunit/compiler/store-elimination.js View 1 2 chunks +50 lines, -27 lines 0 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
titzer
Note that the estimate of whether an instruction can deoptimize is not quite correct. Also, ...
7 years ago (2013-12-12 10:17:59 UTC) #1
Hannes Payer (out of office)
Looking good. I am a bit concerned about CanDeoptimize. What if an instruction that cannot ...
6 years, 11 months ago (2014-01-16 15:25:21 UTC) #2
titzer
On 2014/01/16 15:25:21, Hannes Payer wrote: > Looking good. I am a bit concerned about ...
6 years, 10 months ago (2014-02-03 13:42:08 UTC) #3
Hannes Payer (out of office)
lgtm, one nit: caveman or hipster? https://codereview.chromium.org/100253004/diff/50001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/100253004/diff/50001/src/hydrogen-instructions.cc#newcode837 src/hydrogen-instructions.cc:837: // TODO(titzer): make ...
6 years, 10 months ago (2014-02-05 14:44:46 UTC) #4
titzer
Committed patchset #2 manually as r20224 (presubmit successful).
6 years, 9 months ago (2014-03-25 09:06:31 UTC) #5
Sven Panne
6 years, 9 months ago (2014-03-25 09:16:14 UTC) #6
Message was sent while issue was closed.
Coming late to the party, but nevertheless... :-)

https://codereview.chromium.org/100253004/diff/50001/src/hydrogen-instruction...
File src/hydrogen-instructions.cc (right):

https://codereview.chromium.org/100253004/diff/50001/src/hydrogen-instruction...
src/hydrogen-instructions.cc:852: case HValue::kDiv:
Hmmm, div and mod *can* deoptimize in general, haven't checked the rest, but I'm
sure there's more...

Powered by Google App Engine
This is Rietveld 408576698