[all-commits] [llvm/llvm-project] 431007: LV: generalize profitability criterion over TC (#9...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu May 30 02:54:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43100766f287185642a3ccbf1a629915f85575e2
      https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll

  Log Message:
  -----------
  LV: generalize profitability criterion over TC (#93300)

Generalize LoopVectorizationPlanner::isMoreProfitable smoothly across
the fixed-vector and scalable-vector cases, taking the trip-count into
account, and fixing logical pitfalls that arise from a lack of
generality.



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