[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
Wed Jun 20 17:43:11 PDT 2018


rampitec updated this revision to Diff 152207.
rampitec marked an inline comment as done.
rampitec added a comment.

Addressed review comments.


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.152207.patch
Type: text/x-patch
Size: 14861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/6fa89d4f/attachment.bin>


More information about the llvm-commits mailing list