[all-commits] [llvm/llvm-project] fe4949: [SLP]Fix PR55796: insert point for extractelements...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Jun 1 09:47:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe4949942d1cdb7dbfbc96bf0f0ef123308742ed
      https://github.com/llvm/llvm-project/commit/fe4949942d1cdb7dbfbc96bf0f0ef123308742ed
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll

  Log Message:
  -----------
  [SLP]Fix PR55796: insert point for extractelements from different basic blocks.

Extractelement instructions may come from different basic blocks, need
to take it into account when looking for a last instruction in the
bundle to prevent compiler crash.

Differential Revision: https://reviews.llvm.org/D126777




More information about the All-commits mailing list