[PATCH] D36650: [X86] WIP support narrowing operations when only a subvector is demanded

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 12 23:55:04 PDT 2017


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

Fixed a couple issues and got 2 adds narrowed now.

Looks like there's till an issue where we have equivalent extracts from the next add but one is sandwiched in bitcasts and the other isn't. So they don't get CSEd and then inflate the use count of the add.


https://reviews.llvm.org/D36650

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  test/CodeGen/X86/avx512-intrinsics-upgrade.ll
  test/CodeGen/X86/madd.ll
  test/CodeGen/X86/sad.ll
  test/CodeGen/X86/shuffle-vs-trunc-512.ll
  test/CodeGen/X86/vector-half-conversions.ll
  test/CodeGen/X86/x86-interleaved-access.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36650.110865.patch
Type: text/x-patch
Size: 30933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170813/b174ac62/attachment.bin>


More information about the llvm-commits mailing list