[all-commits] [llvm/llvm-project] 380bea: Fix potential crash in SLPVectorizer caused by mis...

Gabriel Baraldi via All-commits all-commits at lists.llvm.org
Tue Jul 2 05:16:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 380beaec8633bad0148aec02f03a85d9a59b2a2d
      https://github.com/llvm/llvm-project/commit/380beaec8633bad0148aec02f03a85d9a59b2a2d
  Author: Gabriel Baraldi <baraldigabriel at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/uselistorder.ll

  Log Message:
  -----------
  Fix potential crash in SLPVectorizer caused by missing check (#95937)

I'm not super familiar with this code, but it seems that we were just
missing a check.

The original code that triggered this did not have uselistorders but
llvm-reduce created them and it reproduces the same issue in a way more
compact way.

Fixes https://github.com/llvm/llvm-project/issues/95016



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