[PATCH] D45806: DAGcombiner: Handle correctly non-splat power of 2 -1 divisor

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 19 01:37:44 PDT 2018


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

Minor improvement: No need for the select if there are no negatives


Repository:
  rL LLVM

https://reviews.llvm.org/D45806

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45806.143057.patch
Type: text/x-patch
Size: 6140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180419/d97976a2/attachment.bin>


More information about the llvm-commits mailing list