[PATCH] D63318: [DAGCombine] Teach DAGCombine to fold the aext + select pattern

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 23:10:11 PDT 2019


steven.zhang updated this revision to Diff 205512.
steven.zhang added a comment.

Add the isZextFree check.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63318/new/

https://reviews.llvm.org/D63318

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/PowerPC/bool-math.ll
  llvm/test/CodeGen/PowerPC/select_const.ll
  llvm/test/CodeGen/X86/avx512-insert-extract.ll
  llvm/test/CodeGen/X86/cmov-promotion.ll
  llvm/test/CodeGen/X86/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63318.205512.patch
Type: text/x-patch
Size: 24580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/352a75f9/attachment.bin>


More information about the llvm-commits mailing list