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

Issue 733643005: Subzero: Use the linear-scan register allocator for Om1 as well. (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: Use the linear-scan register allocator for Om1 as well. This removes the need for Om1's postLower() code which did its own ad-hoc register allocation. And it actually speeds up Om1 translation significantly. This mode of register allocation only allocates for infinite-weight Variables, while respecting live ranges of pre-colored Variables. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=70d0a054b3a2ed6ee49b2bf5d94cf52d79bbb1b9

Patch Set 1 #

Total comments: 1

Patch Set 2 : Refactor some common initializations into init() #

Total comments: 14

Patch Set 3 : Update/fix some comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -200 lines) Patch
M src/IceDefs.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/IceRegAlloc.h View 2 chunks +12 lines, -2 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 2 5 chunks +169 lines, -60 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M src/IceTargetLowering.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 7 chunks +17 lines, -114 lines 0 comments Download
M src/IceTranslator.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M tests_lit/llvm2ice_tests/ebp_args.ll View 1 chunk +6 lines, -6 lines 0 comments Download
M tests_lit/llvm2ice_tests/nop-insertion.ll View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
https://codereview.chromium.org/733643005/diff/1/src/IceTranslator.cpp File src/IceTranslator.cpp (left): https://codereview.chromium.org/733643005/diff/1/src/IceTranslator.cpp#oldcode86 src/IceTranslator.cpp:86: if (Ctx->getFlags().UseIntegratedAssembler) { Without the !ErrorStatus guard, Om1 was ...
6 years, 1 month ago (2014-11-14 22:14:34 UTC) #2
jvoung (off chromium)
Cool -- just some small nits, otherwise LGTM https://codereview.chromium.org/733643005/diff/20001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/733643005/diff/20001/src/IceRegAlloc.cpp#newcode200 src/IceRegAlloc.cpp:200: // ...
6 years, 1 month ago (2014-11-14 23:26:22 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/733643005/diff/20001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/733643005/diff/20001/src/IceRegAlloc.cpp#newcode200 src/IceRegAlloc.cpp:200: // This isn't actually a fatal considition, but it ...
6 years, 1 month ago (2014-11-14 23:51:35 UTC) #4
Jim Stichnoth
6 years, 1 month ago (2014-11-14 23:53:49 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
70d0a054b3a2ed6ee49b2bf5d94cf52d79bbb1b9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698