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

Issue 1262003003: Subzero: Fix x86 lowering for shift-by-relocatable-constant. (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: Fix x86 lowering for shift-by-relocatable-constant. Trying to shift by a ConstantRelocatable causes an assertion failure in the integrated assembler, because the shift value must be Imm8. Maybe this is possible to express via ELF relocations, but it doesn't seem worth it. Especially since ConstantRelocatables refer to addresses and it doesn't make sense to shift by an address. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4256 R=jvoung@chromium.org, kschimpf@google.com Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=c5c8957b40d115daa7f4806bd7e5b59fe31b8aa8

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
M src/IceTargetLoweringX86BaseImpl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M tests_lit/llvm2ice_tests/arith.ll View 1 chunk +32 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
5 years, 4 months ago (2015-08-04 18:45:32 UTC) #2
Karl
lgtm
5 years, 4 months ago (2015-08-04 19:37:37 UTC) #3
jvoung (off chromium)
lgtm https://codereview.chromium.org/1262003003/diff/1/tests_lit/llvm2ice_tests/arith.ll File tests_lit/llvm2ice_tests/arith.ll (right): https://codereview.chromium.org/1262003003/diff/1/tests_lit/llvm2ice_tests/arith.ll#newcode223 tests_lit/llvm2ice_tests/arith.ll:223: ; CHECK: shl {{.*}},cl Yeah I agree with ...
5 years, 4 months ago (2015-08-04 21:21:51 UTC) #4
Jim Stichnoth
5 years, 4 months ago (2015-08-04 22:26:53 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c5c8957b40d115daa7f4806bd7e5b59fe31b8aa8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698