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

Issue 140543004: More check elimination improvements including partial learning on false branches of CompareMap and … (Closed)

Created:
6 years, 10 months ago by Igor Sheludko
Modified:
6 years, 10 months ago
Reviewers:
titzer, Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

More check elimination improvements including partial learning on false branches of CompareMap and better handling of unreachable blocks.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -61 lines) Patch
M src/hydrogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/hydrogen-check-elimination.cc View 10 chunks +111 lines, -61 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Igor Sheludko
PTAL (the last set of changes that I have)
6 years, 10 months ago (2014-02-05 15:51:52 UTC) #1
Toon Verwaest
As discussed, I'd prefer an interface with just a Merge operation without a Copy operation. ...
6 years, 10 months ago (2014-02-11 14:54:03 UTC) #2
Igor Sheludko
6 years, 10 months ago (2014-02-11 22:44:34 UTC) #3
On 2014/02/11 14:54:03, Toon Verwaest wrote:
> As discussed, I'd prefer an interface with just a Merge operation without a
Copy
> operation. That way unreachable blocks only need to be handled by pretending
> that they are in the initial state.
> 
>
https://codereview.chromium.org/140543004/diff/1/src/hydrogen-check-eliminati...
> File src/hydrogen-check-elimination.cc (right):
> 
>
https://codereview.chromium.org/140543004/diff/1/src/hydrogen-check-eliminati...
> src/hydrogen-check-elimination.cc:167: if (pred_block->IsReachable() &&
> succ->predecessors()->length() == 1) {
> I think we shouldn't explicitly care about the number of predecessors, but
> rather just copy information from all reachable blocks down and merge it in
the
> regular way. If the length of reachable predecessors is one, it will
> automagically do what you expect.

I decided to redo my changes in a different CL that was already landed:
https://codereview.chromium.org/159963002/

Powered by Google App Engine
This is Rietveld 408576698