[all-commits] [llvm/llvm-project] b1abc2: [SLP]Fix PR58616: assert for gep nodes with differ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Apr 24 07:45:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1abc2beaff38294e8f4a3d21999b3e8e4c1e6e2
      https://github.com/llvm/llvm-project/commit/b1abc2beaff38294e8f4a3d21999b3e8e4c1e6e2
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gep-nodes-with-non-gep-inst.ll

  Log Message:
  -----------
  [SLP]Fix PR58616: assert for gep nodes with different basic blocks.

Need to relax the assertion check in the FindFirstInst lambda for GEP
nodes with non-GEP instruction to avoid compiler crash.




More information about the All-commits mailing list