[all-commits] [llvm/llvm-project] 964c77: [SLP]Fix the minbitwidth analysis for slternate op...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Oct 31 15:25:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 964c7711f4384b08f051d17da888d35d03a3024a
      https://github.com/llvm/llvm-project/commit/964c7711f4384b08f051d17da888d35d03a3024a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/alternate-opcode-strict-bitwidth-than-main.ll

  Log Message:
  -----------
  [SLP]Fix the minbitwidth analysis for slternate opcodes

If the laternate operation is more stricter than the main operation, we
cannot rely on the analysis of the main operation. In such case, better
to avoid doing the analysis at all, since it may affect the overall
result and lead to incorrect optimization

Fixes #165878



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