[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
Thu Jun 28 06:27:43 PDT 2018


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

Merged the 2 negations together as suggested by @efriedma


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.153307.patch
Type: text/x-patch
Size: 17163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/cc4248b2/attachment.bin>


More information about the llvm-commits mailing list