[all-commits] [llvm/llvm-project] 913dcf: [SLP]Fix type promotion for smax reduction with un...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Apr 16 10:14:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 913dcf1aa36f3ea2d67a0d2b05b9d1375987e553
      https://github.com/llvm/llvm-project/commit/913dcf1aa36f3ea2d67a0d2b05b9d1375987e553
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/smax-reduction-unsigned-missing-sign.ll

  Log Message:
  -----------
  [SLP]Fix type promotion for smax reduction with unsigned reduced operands

Need to add an extra bit for sign info for unsigned reduced values to
generate correct code.



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