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

Issue 692633004: Subzero: Remove Variable::NeedsStackSlot. (Closed)

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

Description

Subzero: Remove Variable::NeedsStackSlot. Instead, separately compute it during prolog generation via another pass over the Cfg. This may slow down translation by ~1%, but it greatly simplifies the management of this flag/property. The higher motivation is to pull this management out of register allocation to make it easier to extend register allocation for other uses. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=33c8064167a1623f2d5c5738302193ee8e10411b

Patch Set 1 #

Patch Set 2 : Also consider whether Dest needs a stack slot #

Total comments: 4

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -18 lines) Patch
M src/IceCfgNode.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/IceOperand.h View 3 chunks +3 lines, -8 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 5 chunks +23 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
6 years, 1 month ago (2014-11-11 16:55:40 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/692633004/diff/20001/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/692633004/diff/20001/src/IceTargetLoweringX8632.cpp#newcode676 src/IceTargetLoweringX8632.cpp:676: continue; If the instruction isRedundantAssign() should this be skipped ...
6 years, 1 month ago (2014-11-11 17:18:10 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/692633004/diff/20001/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/692633004/diff/20001/src/IceTargetLoweringX8632.cpp#newcode676 src/IceTargetLoweringX8632.cpp:676: continue; On 2014/11/11 17:18:09, jvoung wrote: > If the ...
6 years, 1 month ago (2014-11-11 17:43:39 UTC) #4
jvoung (off chromium)
lgtm
6 years, 1 month ago (2014-11-11 17:48:20 UTC) #5
Jim Stichnoth
6 years, 1 month ago (2014-11-11 17:49:09 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
33c8064167a1623f2d5c5738302193ee8e10411b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698