[PATCH] D48223: 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
Fri Jun 15 22:19:07 PDT 2018


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

Rebase.


https://reviews.llvm.org/D48223

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48223.151606.patch
Type: text/x-patch
Size: 8203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180616/9503409d/attachment-0001.bin>


More information about the llvm-commits mailing list