[PATCH] D42479: DAGCombiner: Combine SDIV with non-splat vector pow2 divider

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 4 10:34:14 PST 2018


zvi updated this revision to Diff 132771.
zvi added a comment.

Following Simon's suggestions, dropping the TLI hook seems to improve all cases except for v2i64 on SSE/AVX1.


Repository:
  rL LLVM

https://reviews.llvm.org/D42479

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/combine-sdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42479.132771.patch
Type: text/x-patch
Size: 211460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180204/cc71a414/attachment-0001.bin>


More information about the llvm-commits mailing list