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

Issue 417933004: Subzero: Fix a regalloc eviction bug. (Closed)

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

Description

Subzero: Fix a regalloc eviction bug. We don't need/want to evict an inactive live range when it doesn't overlap with the live range currently being considered. This is especially important for Variables representing scratch registers that are killed by call instructions. These register assignments should obviously never be evicted. Note that the algorithm that computes the min-weight register to evict doesn't consider inactive and non-overlapping live ranges. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3903 R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=68e2819

Patch Set 1 #

Patch Set 2 : Add Jan's test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -1 line) Patch
M src/IceRegAlloc.cpp View 1 chunk +11 lines, -1 line 0 comments Download
A tests_lit/llvm2ice_tests/regalloc_evict_non_overlap.ll View 1 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jim Stichnoth
6 years, 5 months ago (2014-07-24 13:47:32 UTC) #1
jvoung (off chromium)
LGTM
6 years, 5 months ago (2014-07-24 15:11:13 UTC) #2
Jim Stichnoth
6 years, 5 months ago (2014-07-24 15:48:18 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r68e2819 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698