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

Issue 1273823003: Subzero: Completely remove tracking of stack pointer live range. (Closed)

Created:
5 years, 4 months ago by Jim Stichnoth
Modified:
5 years, 4 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

Subzero: Completely remove tracking of stack pointer live range. Specifically, if a variable is marked with IgnoreLiveness=true, then: 1. Completely avoid adding any segments to its live range 2. Assert that no one tries to add segments to its live range This is done in part by incorporating Variable::IgnoreLiveness into Liveness::RangeMask. Also, change a functor into a lambda because C++11. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=f9df45232d77d5a53cee87a138db42f27798d9ee

Patch Set 1 #

Patch Set 2 : Reformat #

Total comments: 2

Patch Set 3 : Fix a condition to match previous logic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -37 lines) Patch
M src/IceCfgNode.cpp View 1 2 chunks +16 lines, -23 lines 0 comments Download
M src/IceLiveness.cpp View 1 2 3 chunks +17 lines, -13 lines 0 comments Download
M src/IceOperand.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceRegAlloc.cpp View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
5 years, 4 months ago (2015-08-06 20:23:18 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/1273823003/diff/20001/src/IceLiveness.cpp File src/IceLiveness.cpp (right): https://codereview.chromium.org/1273823003/diff/20001/src/IceLiveness.cpp#newcode96 src/IceLiveness.cpp:96: (!IsFullInit && !Var->hasReg() && !Var->getWeight().isInf())) I wasn't sure if ...
5 years, 4 months ago (2015-08-06 21:39:15 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/1273823003/diff/20001/src/IceLiveness.cpp File src/IceLiveness.cpp (right): https://codereview.chromium.org/1273823003/diff/20001/src/IceLiveness.cpp#newcode96 src/IceLiveness.cpp:96: (!IsFullInit && !Var->hasReg() && !Var->getWeight().isInf())) On 2015/08/06 21:39:14, jvoung ...
5 years, 4 months ago (2015-08-06 22:38:50 UTC) #4
jvoung (off chromium)
lgtm
5 years, 4 months ago (2015-08-06 23:35:35 UTC) #5
Jim Stichnoth
5 years, 4 months ago (2015-08-07 00:50:21 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:30005) manually as
f9df45232d77d5a53cee87a138db42f27798d9ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698