[all-commits] [llvm/llvm-project] fdf72c: [SLP]Fix a crash when requestin the cost for build...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Aug 29 03:53:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdf72c992b2781de3f6c78698164e55a031a268e
      https://github.com/llvm/llvm-project/commit/fdf72c992b2781de3f6c78698164e55a031a268e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/cmp-in-bv-node-type-cost.ll

  Log Message:
  -----------
  [SLP]Fix a crash when requestin the cost for buildvector cmp nodes types.

Need to use original cmp type i1 when estimating the cost for the
buildvector node, not its operand types to prevent compiler crash upon
TTI cost estimation.



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