[all-commits] [llvm/llvm-project] bfd8cc: [SLP]Fix a check for the whole register use

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Mar 31 10:52:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfd8cc0a3e82c5e6345a66dd5db5242accb6874b
      https://github.com/llvm/llvm-project/commit/bfd8cc0a3e82c5e6345a66dd5db5242accb6874b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/cmp-values-non-full-registers.ll

  Log Message:
  -----------
  [SLP]Fix a check for the whole register use

Need to check the value type, not the return type, of the instructions,
when doing the analysis for the whole register use to prevent a compiler
crash.

Fixes #133751



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