[PATCH] D12082: [X86] Do not lower scalar sdiv/udiv to a shifts + mul sequence when optimizing for minsize

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 02:08:48 PDT 2015


mkuper added a reviewer: arsenm.
mkuper updated this revision to Diff 32389.
mkuper added a comment.

Updated to refactor the TLI interface as suggested.
I'll split this into two patches when I commit - one for the refactoring, and one for the x86 change.


http://reviews.llvm.org/D12082

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/MSP430/MSP430ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/XCore/XCoreISelLowering.cpp
  test/CodeGen/X86/divide-by-constant.ll
  test/CodeGen/X86/vec_sdiv_to_shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12082.32389.patch
Type: text/x-patch
Size: 10142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150818/2936e166/attachment.bin>


More information about the llvm-commits mailing list