[all-commits] [llvm/llvm-project] 62db1c: [SLP]Better decision making on whether to try stor...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Nov 7 14:23:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62db1c8a076c7167e404412182f4a8915f4ff6ee
      https://github.com/llvm/llvm-project/commit/62db1c8a076c7167e404412182f4a8915f4ff6ee
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/repeated-address-store.ll

  Log Message:
  -----------
  [SLP]Better decision making on whether to try stores packs for vectorization

Since the stores are sorted by distance, comparing the indices in the
original array and early exit, if the index is less than the index of
the last store, not always the best strategy. Better to remove such
stores explicitly to try better to check for the vectorization
opportunity.

Fixes #115008



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