[PATCH] D40215: [X86][AVX512] Use PACKSS/PACKUS for vXi16->vXi8 truncations without BWI.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 18 14:12:58 PST 2017


RKSimon created this revision.

We currently don't use the PACKSS truncation combine for AVX512 targets, forcing targets without BWI to use the EXT+TRUNC pattern.


Repository:
  rL LLVM

https://reviews.llvm.org/D40215

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-ext.ll
  test/CodeGen/X86/avx512-trunc.ll
  test/CodeGen/X86/vector-compare-results.ll
  test/CodeGen/X86/vector-sext.ll
  test/CodeGen/X86/vector-trunc.ll
  test/CodeGen/X86/vselect-packss.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40215.123478.patch
Type: text/x-patch
Size: 10360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171118/8160551c/attachment.bin>


More information about the llvm-commits mailing list