[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
Thu Jun 21 09:06:56 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335250: DAG combine "and|or (select c, -1, 0), x" -> "select c, x, 0|-1" (authored by rampitec, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48301?vs=152207&id=152320#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48301

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48301.152320.patch
Type: text/x-patch
Size: 14993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/6c2543e0/attachment.bin>


More information about the llvm-commits mailing list