[all-commits] [llvm/llvm-project] 26fec4: [SLP]Fix crash on casting non-instruction extracte...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jan 3 09:47:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26fec4e845a833214d2b0036ea90f1b1c2418d50
      https://github.com/llvm/llvm-project/commit/26fec4e845a833214d2b0036ea90f1b1c2418d50
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/external-non-inst-use.ll

  Log Message:
  -----------
  [SLP]Fix crash on casting non-instruction extractelement.

Need to check if the extractelement operation is an extraction before
trying to move it around the buildblocks to avoid crash on cast.




More information about the All-commits mailing list