[PATCH] D35320: [X86][SSE] Add support for extending bool vectors bitcasted from scalars.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 12:41:41 PDT 2017


RKSimon created this revision.

This patch acts as a reverse to combineBitcastvxi1 - bitcasting a scalar integer to a boolean vector and extending it 'in place' to the requested legal type.

Currently this doesn't handle AVX512 at all - but the current mask register approach is lacking for some cases.


Repository:
  rL LLVM

https://reviews.llvm.org/D35320

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
  test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
  test/CodeGen/X86/bitcast-int-to-vector-bool.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35320.106283.patch
Type: text/x-patch
Size: 390911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/b835d673/attachment-0001.bin>


More information about the llvm-commits mailing list