[PATCH] D54646: DAG combiner: fold (select, C, X, undef) -> X

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 14:38:22 PST 2018


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

Added negative checks to select-undef.ll and rebased.


https://reviews.llvm.org/D54646

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/half.ll
  test/CodeGen/AMDGPU/select-undef.ll
  test/CodeGen/ARM/sub-cmp-peephole.ll
  test/CodeGen/Generic/dag-combine-select-undef.ll
  test/CodeGen/Hexagon/autohvx/isel-extractelt-illegal-type.ll
  test/CodeGen/Hexagon/swp-const-tc1.ll
  test/CodeGen/SystemZ/subregliveness-04.ll
  test/CodeGen/X86/2012-08-07-CmpISelBug.ll
  test/CodeGen/X86/hoist-spill.ll
  test/CodeGen/X86/pr31045.ll
  test/CodeGen/X86/pr32610.ll
  test/CodeGen/X86/scheduler-backtracking.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54646.174454.patch
Type: text/x-patch
Size: 29513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/34a64595/attachment-0001.bin>


More information about the llvm-commits mailing list