[PATCH] [X86] 8bit divrem: Improve codegen for AH register extraction.

Ahmed Bougacha ahmed.bougacha at gmail.com
Sat Nov 1 11:47:20 PDT 2014


Remove support for 64-bit sexts: those are impossible from h-regs.

I had previously added a subreg_to_reg to also support i64 extensions for free. But I just had a flash where I remembered that we still need to explicitly movsx to a 64-bit register.

While there, remove useless ops vectors.

http://reviews.llvm.org/D6064

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/X86/X86InstrExtension.td
  test/CodeGen/X86/divrem8_ext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6064.15668.patch
Type: text/x-patch
Size: 11535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141101/a1460ee6/attachment.bin>


More information about the llvm-commits mailing list