[all-commits] [llvm/llvm-project] 31cb80: [SanbdoxVec][BottomUpVec] Fix diamond shuffle with...

vporpo via All-commits all-commits at lists.llvm.org
Wed Feb 12 14:33:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31cb807537fa09b3f452ac9f93388ef202f6b4a8
      https://github.com/llvm/llvm-project/commit/31cb807537fa09b3f452ac9f93388ef202f6b4a8
  Author: vporpo <vporpodas at google.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Legality.cpp
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
    M llvm/test/Transforms/SandboxVectorizer/bottomup_basic.ll

  Log Message:
  -----------
  [SanbdoxVec][BottomUpVec] Fix diamond shuffle with multiple vector inputs (#126965)

When the operand comes from multiple inputs then we need additional
packing code. When the operands are scalar then we can use a single
InsertElementInst. But when the operands are vectors then we need a
chain of ExtractElementInst and InsertElementInst instructions to insert
the vector value into the destination vector. This is what this patch
implements.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list