[all-commits] [llvm/llvm-project] 8ea8dd: [SLP] Fix crash on trying to reshuffle a scalar th...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Nov 15 11:05:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ea8dd9a017182d167f39f521ef397afba5a0fd5
      https://github.com/llvm/llvm-project/commit/8ea8dd9a017182d167f39f521ef397afba5a0fd5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gather_extract_from_vectorbuild.ll

  Log Message:
  -----------
  [SLP] Fix crash on trying to reshuffle a scalar that was vectorized.

If the buildvector node contains extractelement, which vector operand
depends on vector node, need to check if the node is ready and use
vectorized value instead of the original vector operation.




More information about the All-commits mailing list