[all-commits] [llvm/llvm-project] 42f18e: [SLP]Fix PR107036: Check if the type of the user i...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 10 07:40:56 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 42f18eedc2cf2d1f64fd5d78fda376adf39a9b3d
      https://github.com/llvm/llvm-project/commit/42f18eedc2cf2d1f64fd5d78fda376adf39a9b3d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/minbw-user-non-sizable.ll

  Log Message:
  -----------
  [SLP]Fix PR107036: Check if the type of the user is sizable before requesting its size.

Only some instructions should be considered as potentially reducing the
size of the operands types, not all instructions should be considered.

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

(cherry picked from commit f381cd069965dabfeb277f30a4e532d7fd498f6e)



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