commit | 664a3a9314ddc3f74b10f9c71bd492436a138ee0 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <mkuper@google.com> | Thu Jul 07 22:50:23 2016 +0000 |
committer | Michael Kuperstein <mkuper@google.com> | Thu Jul 07 22:50:23 2016 +0000 |
tree | d5d9e74c71840cfb2e27676d3afa65eac464d5d9 | |
parent | a161bdd9f5e651685aafcd173ecfd2c551c7bc1d [diff] |
Recommit r274692 - [X86] Transform setcc + movzbl into xorl + setcc xorl + setcc is generally the preferred sequence due to the partial register stall setcc + movzbl suffers from. As a bonus, it also encodes one byte smaller. This fixes PR28146. The original commit tried inserting an 8bit-subreg into a GR32 (not GR32_ABCD) which was not appreciated by fast regalloc on 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274802 91177308-0d34-0410-b5e6-96231b3b80d8