[all-commits] [llvm/llvm-project] 228c2e: [SLP]Fix incorrect promotion of nodes before shuff...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jun 25 13:40:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 228c2e147390ca996a22e460e0bb804431469d25
      https://github.com/llvm/llvm-project/commit/228c2e147390ca996a22e460e0bb804431469d25
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll

  Log Message:
  -----------
  [SLP]Fix incorrect promotion of nodes before shuffling.

If the base node is signed, but some values are unsigned, still the
whole node should be considered signed. Also, an extra bitwidth analysis
should be performed, when estimating the minimal bitwidth.



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