[PATCH] D43447: [X86] Custom split v32i16/v64i8 bitcasts when AVX512F is available, but BWI is not.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 11:49:51 PST 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, zvi.

The test changes you can see are related to the changes in ReplaceNodeResults. Though shuffle-vs-trunc-512.ll does have a test that exercises the code in LowerBITCAST. Looks like the test output didn't change because DAG combining is able to clean up the resulting type legalization. Adding the custom hook just makes type legalization work less hard.


Repository:
  rL LLVM

https://reviews.llvm.org/D43447

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512vl-vec-masked-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43447.134842.patch
Type: text/x-patch
Size: 98146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180218/17984b4b/attachment.bin>


More information about the llvm-commits mailing list