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

Issue 721333004: Subzero: Fix a bug in postLower(). (Closed)

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

Description

Subzero: Fix a bug in postLower(). In -O2 mode, postLower() is supposed to iterate over just the instructions that were most recently added. Instead, it was iterating all the way to the end of the block, also post-lowering high-level ICE instructions that hadn't yet been lowered. This was basically harmless, given that the spec2k asm code is identical after this patch, but it improves performance. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=5d2fa0cfe93b63a0db3527dd83f5d535f4b8663b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M src/IceTargetLowering.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Jim Stichnoth
This looks like another ~1% gain in translation time.
6 years ago (2014-11-26 23:05:56 UTC) #2
jvoung (off chromium)
lgtm
6 years ago (2014-12-01 17:05:48 UTC) #3
Jim Stichnoth
6 years ago (2014-12-01 17:31:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5d2fa0cfe93b63a0db3527dd83f5d535f4b8663b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698