[all-commits] [llvm/llvm-project] f6e01b: [SLP]Do not trunc bv nodes, if the user is vectori...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jul 19 07:31:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6e01b9ece1e73f6eda6e1dbff3aa72e917f4007
      https://github.com/llvm/llvm-project/commit/f6e01b9ece1e73f6eda6e1dbff3aa72e917f4007
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/trunc-bv-multi-uses.ll

  Log Message:
  -----------
  [SLP]Do not trunc bv nodes, if the user is vectorized an requires wider type.

If at least a single user of the gathered trunc'ed instruction is
vectorized and requires wider type, than the trunc node, such
gathers/buildvectors should not be optimized for better 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