[all-commits] [llvm/llvm-project] be6aed: [SLP]Use number of scalars as a vector length for ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Sep 26 13:20:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be6aed90c70b7ef718c6c9217158933c8dd57372
      https://github.com/llvm/llvm-project/commit/be6aed90c70b7ef718c6c9217158933c8dd57372
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/minbitwidth-cast-node-length.ll

  Log Message:
  -----------
  [SLP]Use number of scalars as a vector length for minbw cast

Need to use the number of scalars, not the vector factor of the node.
Otherwise incorrect casting can be estimated, leading to a 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