[all-commits] [llvm/llvm-project] 0e1ffa: [SLP]Fix a crash when comparing phis from unreacha...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Feb 18 08:24:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e1ffa397ef35fe55f7bd768d42f94241d1a2caa
      https://github.com/llvm/llvm-project/commit/0e1ffa397ef35fe55f7bd768d42f94241d1a2caa
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/unreachable-blocks-with-phis.ll

  Log Message:
  -----------
  [SLP]Fix a crash when comparing phis from unreachable blocks

Need to check if the block is reachable before comparing phis from it to
avoid compiler crash when requesting node.

Fixes report in https://github.com/llvm/llvm-project/pull/110529#issuecomment-2664723338



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list