commit | e641e92cb728bb01453d926fa4e69ba8b9ae53bb | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Mon Feb 29 09:54:55 2016 -0800 |
committer | Jim Stichnoth <stichnot@chromium.org> | Mon Feb 29 09:54:55 2016 -0800 |
tree | 41d27c042399c147c27e66fc3ccfa0f711d2f3bb | |
parent | b6dcf3c51dd2ce15efa5717eaca20da1a9071fa2 [diff] |
Subzero: 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 Review URL: https://codereview.chromium.org/1743133002 .