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

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 02:52:47 PDT 2018


RKSimon updated this revision to Diff 153456.
RKSimon added a comment.

Nice catch! Merged -1/+1 blending into single op.


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.153456.patch
Type: text/x-patch
Size: 19684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/f0a7a7e8/attachment-0001.bin>


More information about the llvm-commits mailing list