[PATCH] D48301: DAG combine "and|or (select c, -1, 0), x" -> "select c, x, 0|-1"

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 17:06:13 PDT 2018


rampitec updated this revision to Diff 151829.
rampitec added a comment.

Rebased.


https://reviews.llvm.org/D48301

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/dagcombine-select.ll
  test/CodeGen/AMDGPU/udivrem.ll
  test/CodeGen/X86/dagcombine-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48301.151829.patch
Type: text/x-patch
Size: 10684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/bf00192b/attachment.bin>


More information about the llvm-commits mailing list