[PATCH] D129207: [X86] isTargetShuffleEquivalent - attempt to match SM_SentinelZero shuffle mask elements using known bits

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 10:52:21 PDT 2022


RKSimon updated this revision to Diff 442991.
RKSimon edited the summary of this revision.
RKSimon added a comment.

Delayed MaskedVectorIsZero calls to the end of the test if all other shuffle mask elements matched, so we only need to call each input vector once at most.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129207/new/

https://reviews.llvm.org/D129207

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/pr51615.ll
  llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
  llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
  llvm/test/CodeGen/X86/vector-shuffle-combining.ll
  llvm/test/CodeGen/X86/vector_splat-const-shift-of-constmasked.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129207.442991.patch
Type: text/x-patch
Size: 28350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220707/838ed7c0/attachment.bin>


More information about the llvm-commits mailing list