DescriptionSubzero: Fix JumpTable lowering on x86-64.
The problem is that when switch lowering decides to use a JumpTable and the switch variable is i64 on x86-64, the lowering tries to movzx the i64 variable into an i32 variable, and the Movzx ctor asserts.
This happens when translating pnacl-llc.pexe, but luckily it is also triggered in the existing adv-switch.ll test.
BUG= none
R=jpp@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=e641e92cb728bb01453d926fa4e69ba8b9ae53bb
Patch Set 1 #Patch Set 2 : Clean up the test a bit #
Total comments: 3
Messages
Total messages: 7 (3 generated)
|