Skip to content
Commit a1b6667c authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Use a MOVSX instruction instead of a MOVZX instruction in isel for an...

[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.

llvm-svn: 346581
parent dc12535e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment