[PATCH] D30537: [DAGCombiner] allow transforming (select Cond, C +/- 1, C) to (add(ext Cond), C)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 4 11:30:09 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL296977: [DAGCombiner] allow transforming (select Cond, C +/- 1, C) to (add(ext Cond), C) (authored by spatel).

Changed prior to commit:
  https://reviews.llvm.org/D30537?vs=90333&id=90587#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30537

Files:
  llvm/trunk/include/llvm/Target/TargetLowering.h
  llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/trunk/lib/Target/PowerPC/PPCISelLowering.h
  llvm/trunk/lib/Target/X86/X86ISelLowering.h
  llvm/trunk/test/CodeGen/PowerPC/crbits.ll
  llvm/trunk/test/CodeGen/PowerPC/select_const.ll
  llvm/trunk/test/CodeGen/X86/avx512-insert-extract.ll
  llvm/trunk/test/CodeGen/X86/avx512-select.ll
  llvm/trunk/test/CodeGen/X86/select_const.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30537.90587.patch
Type: text/x-patch
Size: 13595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170304/eb3bec0c/attachment-0001.bin>


More information about the llvm-commits mailing list