[PATCH] D42679: [DAGCombiner] When combining zero_extend of a truncate, only mask before extending for vectors.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 14:10:51 PST 2018


craig.topper updated this revision to Diff 134506.
craig.topper added a comment.

Rebase after https://reviews.llvm.org/D43063

The NVPTX test got weirder now. The setp.eq.b16instruction was always there, but not part of the CHECKs. The and.b32 is new.


https://reviews.llvm.org/D42679

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/arm64-aapcs.ll
  test/CodeGen/AArch64/arm64-arith.ll
  test/CodeGen/AArch64/bitfield.ll
  test/CodeGen/NVPTX/param-load-store.ll
  test/CodeGen/PowerPC/vec_extract_p9_2.ll
  test/CodeGen/SystemZ/insert-05.ll
  test/CodeGen/X86/3addr-or.ll
  test/CodeGen/X86/avx512cd-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512cdvl-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
  test/CodeGen/X86/memset-nonzero.ll
  test/CodeGen/X86/pr27591.ll
  test/CodeGen/X86/pr35763.ll
  test/CodeGen/X86/sext-i1.ll
  test/CodeGen/X86/swift-return.ll
  test/DebugInfo/X86/sdag-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42679.134506.patch
Type: text/x-patch
Size: 21606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/242f52f1/attachment.bin>


More information about the llvm-commits mailing list