[all-commits] [llvm/llvm-project] a2d129: [SLP]Fix a crash when trying to reduce in revec af...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Apr 11 10:59:06 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/SystemZ/revec-fix-128169.ll

  Log Message:
  -----------
  [SLP]Fix a crash when trying to reduce in revec after minbitwidth analysis

Need to use the original scalar type, when building the reduction, and
use the scalar type, when performing casting, to avoid compiler crash.



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