[all-commits] [llvm/llvm-project] 9b13df: [LV] Use vscale for tuning to improve branch weigh...

David Sherwood via All-commits all-commits at lists.llvm.org
Tue Jul 1 05:24:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b13dfdfbc6d3ca3ec0e3e6d9f5e9271eee13258
      https://github.com/llvm/llvm-project/commit/9b13dfdfbc6d3ca3ec0e3e6d9f5e9271eee13258
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Transforms/LoopVectorize/AArch64/check-prof-info.ll

  Log Message:
  -----------
  [LV] Use vscale for tuning to improve branch weight estimates (#144733)

In addBranchWeightToMiddleTerminator we attempt to add branch weights to
the middle block terminator. We pessimistically assume vscale=1, whereas
we can improve the estimate by using the value of vscale used for
tuning.



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