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

Issue 1246173003: Remove jumps over empty blocks. (Closed)

Created:
5 years, 5 months ago by ascull
Modified:
5 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove jumps over empty blocks. After contracting a node reorder it as unreachable even if it hasn't yet been placed. BUG= R=jvoung@chromium.org, jvoung, stichnot Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=713278ab2a513b99c1b972ed03876a4c8462552b

Patch Set 1 #

Patch Set 2 : Remove nodes with reorder not contracted flag. #

Patch Set 3 : Place at end, don't remove. #

Patch Set 4 : Warning in comment. #

Total comments: 4

Patch Set 5 : Refactor to variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -26 lines) Patch
M src/IceCfg.cpp View 1 2 3 chunks +11 lines, -9 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 3 4 1 chunk +21 lines, -16 lines 0 comments Download
M tests_lit/llvm2ice_tests/adv-switch-opt.ll View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/branch-opt.ll View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ascull
5 years, 5 months ago (2015-07-21 22:05:53 UTC) #1
jvoung (off chromium)
You mentioned trying to remove the Contracted nodes from the list and compacting the list, ...
5 years, 5 months ago (2015-07-21 23:27:54 UTC) #2
ascull
I changed it to use reordering instead of a contracted flag. The branch optimization was ...
5 years, 5 months ago (2015-07-22 23:26:30 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1246173003/diff/60001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/1246173003/diff/60001/src/IceCfgNode.cpp#newcode732 src/IceCfgNode.cpp:732: assert(OutEdges.size() == 1); Might be cleaner to "cache" OutEdges.front() ...
5 years, 5 months ago (2015-07-23 00:01:23 UTC) #4
ascull
https://codereview.chromium.org/1246173003/diff/60001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/1246173003/diff/60001/src/IceCfgNode.cpp#newcode732 src/IceCfgNode.cpp:732: assert(OutEdges.size() == 1); On 2015/07/23 00:01:23, jvoung wrote: > ...
5 years, 5 months ago (2015-07-23 00:11:20 UTC) #5
jvoung (off chromium)
LGTM thanks =)
5 years, 5 months ago (2015-07-23 00:14:42 UTC) #6
ascull
5 years, 5 months ago (2015-07-23 00:17:05 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
713278ab2a513b99c1b972ed03876a4c8462552b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698