[all-commits] [llvm/llvm-project] d77dc8: [SLP][REVEC] Fix type comparison and mask transfor...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Fri Apr 11 02:28:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d77dc875118859066a4c81226bca7d307b225e09
      https://github.com/llvm/llvm-project/commit/d77dc875118859066a4c81226bca7d307b225e09
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/revec-SplitVectorize.ll

  Log Message:
  -----------
  [SLP][REVEC] Fix type comparison and mask transformation for REVEC. (#135310)

When REVEC is enabled, ScalarTy may be a FixedVectorType. Compare its
element type to decide if casting is needed. Also apply mask
transformation accordingly.



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