[all-commits] [llvm/llvm-project] e17211: [LV] Don't calculate scalar costs for scalable VFs...

David Sherwood via All-commits all-commits at lists.llvm.org
Wed Aug 20 07:00:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e172110d12f4db4876e65e2a09d2805a58eace2b
      https://github.com/llvm/llvm-project/commit/e172110d12f4db4876e65e2a09d2805a58eace2b
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LV] Don't calculate scalar costs for scalable VFs in setVectorizedCallDecision (#152713)

In setVectorizedCallDecision we attempt to calculate the scalar costs
for vectorisation calls, even for scalable VFs where we already know the
answer is Invalid. We can avoid doing unnecessary work by skipping this
completely for scalable vectors.



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