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

Issue 656023002: Subzero: Register allocator performance improvements and simplifications. (Closed)

Created:
6 years, 2 months ago by Jim Stichnoth
Modified:
6 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Register allocator performance improvements and simplifications. This removes the redundancy between live ranges stored in the Variable and those stored in Liveness, by removing the Liveness copy. After liveness analysis, live ranges are constructed directly into the Variable. Also, the LiveRangeWrapper is removed and Variable * is directly used instead. The original thought behind LiveRangeWrapper was that it could be extended to include live range splitting. However, when/if live range splitting is implemented, it will probably involve creating a new variable with its own live range, and carrying around some extra bookkeeping until the split is committed, so such a wrapper probably won't be needed. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=5ce0abb87e7134493febe99117c7a2e88d75efc4

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -207 lines) Patch
M src/IceCfg.cpp View 1 chunk +6 lines, -17 lines 0 comments Download
M src/IceCfgNode.cpp View 5 chunks +13 lines, -17 lines 0 comments Download
M src/IceLiveness.h View 3 chunks +3 lines, -7 lines 0 comments Download
M src/IceLiveness.cpp View 2 chunks +0 lines, -14 lines 0 comments Download
M src/IceOperand.h View 2 chunks +12 lines, -0 lines 2 comments Download
M src/IceRegAlloc.h View 3 chunks +8 lines, -35 lines 0 comments Download
M src/IceRegAlloc.cpp View 23 chunks +115 lines, -117 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
This gives just a few percent improvement, so it's more of a cleanup.
6 years, 2 months ago (2014-10-15 06:24:48 UTC) #2
jvoung (off chromium)
LGTM otherwise https://codereview.chromium.org/656023002/diff/1/src/IceOperand.h File src/IceOperand.h (right): https://codereview.chromium.org/656023002/diff/1/src/IceOperand.h#newcode415 src/IceOperand.h:415: LiveRange &getLiveRange() { return Live; } There's ...
6 years, 2 months ago (2014-10-15 16:42:36 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/656023002/diff/1/src/IceOperand.h File src/IceOperand.h (right): https://codereview.chromium.org/656023002/diff/1/src/IceOperand.h#newcode415 src/IceOperand.h:415: LiveRange &getLiveRange() { return Live; } On 2014/10/15 16:42:36, ...
6 years, 2 months ago (2014-10-15 16:47:41 UTC) #4
Jim Stichnoth
6 years, 2 months ago (2014-10-15 17:17:06 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5ce0abb87e7134493febe99117c7a2e88d75efc4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698