[all-commits] [llvm/llvm-project] 116099: [SLP]Fix a crash for very long GEP chains

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jan 8 06:48:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1160994602b90890efd4df4e134e46cc3ad34bc8
      https://github.com/llvm/llvm-project/commit/1160994602b90890efd4df4e134e46cc3ad34bc8
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/long-gep-chains.ll

  Log Message:
  -----------
  [SLP]Fix a crash for very long GEP chains

Need to check if the GEP bases are equal and return false early. Also,
need to return false if the lookup is too deep, considering bases equal
too. Fixes a crash in the assertion.



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