[PATCH] D13644: AVX-512 bit shuffle in 32-bit mode - fixed a bug

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 23:41:23 PDT 2015


delena created this revision.
delena added reviewers: RKSimon, igorb.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.

AVX-512 bit shuffle fails on 32 bit since we create a vector of 64-bit constants.
I split 8x64-bit const vector to 16x32 on 32-bit mode.

I added testing for 32-bit mode. I also removed the "bw" test from 8x64 vectors since it does not make any sense. (bw is for i8 and i16 types)

Repository:
  rL LLVM

http://reviews.llvm.org/D13644

Files:
  ../lib/Target/X86/X86ISelLowering.cpp
  ../test/CodeGen/X86/vector-shuffle-512-v8.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13644.37079.patch
Type: text/x-patch
Size: 108606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151012/e68a3a9a/attachment-0001.bin>


More information about the llvm-commits mailing list