commit | 01568d51f085ba06fad7f523d1faffb1c0971089 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Sat Nov 10 06:04:33 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Sat Nov 10 06:04:33 2018 +0000 |
tree | a2f2916d0166b09b038cbcb11117f570c899e2b2 | |
parent | 6c3e6aa54233fc28a5ae601cd5075d9665d20b9b [diff] |
[X86] Use a MOVSX instruction instead of a MOVZX instruction in isel for an any_extend of the remainder from an 8-bit sdivrem. The sdivrem will emit its own MOVSX to move %ah to the low byte of a register. By using a MOVSX for an any_extend this allows a post-isel peephole to merge them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346581 91177308-0d34-0410-b5e6-96231b3b80d8