[PATCH] D93993: [X86] Make deinterleave8bitStride3 use unary CreateShuffleVector

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 3 08:16:29 PST 2021


aqjune created this revision.
aqjune added reviewers: spatel, nikic, lebedev.ri, RKSimon.
Herald added subscribers: pengfei, hiraditya.
aqjune requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch makes X86InterleavedAccessGroup::deinterleave8bitStride3 use the unary CreateShuffleVector.

This is a continuation of D93923 <https://reviews.llvm.org/D93923>. There were a few missing replacements.

IIUC, this patch does not cause change in the generated programs' semantics because the
function inserts shufflevectors that only choose elements from the first vector.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93993

Files:
  llvm/lib/Target/X86/X86InterleavedAccess.cpp
  llvm/test/Transforms/InterleavedAccess/X86/interleavedLoad-inseltpoison.ll
  llvm/test/Transforms/InterleavedAccess/X86/interleavedLoad.ll
  llvm/test/Transforms/InterleavedAccess/X86/interleavedStore-inseltpoison.ll
  llvm/test/Transforms/InterleavedAccess/X86/interleavedStore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93993.314288.patch
Type: text/x-patch
Size: 71814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210103/ceb9545a/attachment.bin>


More information about the llvm-commits mailing list