diff options
author | Craig Topper <craig.topper@intel.com> | 2018-11-10 06:04:33 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-11-10 06:04:33 +0000 |
commit | a1b6667c6ae491153e4fc5b1cb7d87bccdeba34b (patch) | |
tree | 83d6da37a06b89ffe48d1d9233fc3a957c55db5d /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | dc12535e00839905ec3357713bca3dcdc596f15c (diff) | |
download | bcm5719-llvm-a1b6667c6ae491153e4fc5b1cb7d87bccdeba34b.tar.gz bcm5719-llvm-a1b6667c6ae491153e4fc5b1cb7d87bccdeba34b.zip |
[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
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions