[all-commits] [llvm/llvm-project] 6fe21b: [SLP]Fix PR79229: Do not erase extractelement, if ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jan 25 06:25:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fe21bc1dac883efa0dfa807f327048ae9969b81
      https://github.com/llvm/llvm-project/commit/6fe21bc1dac883efa0dfa807f327048ae9969b81
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/extractelement-multi-register-use.ll

  Log Message:
  -----------
  [SLP]Fix PR79229: Do not erase extractelement, if it used in
multiregister node.

If the node can be span between several registers and same
extractelement instruction is used in several parts, it may be required
to keep such extractelement instruction to avoid compiler crash.




More information about the All-commits mailing list