[all-commits] [llvm/llvm-project] 0ba95d: [LV] Round outer-loop VPlan VF down to a power of ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jun 24 13:54:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ba95d65d8e27b7fedd953b1bda8a8a206191ce6
      https://github.com/llvm/llvm-project/commit/0ba95d65d8e27b7fedd953b1bda8a8a206191ce6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
    A llvm/test/Transforms/LoopVectorize/X86/outer-loop-non-power-of-2-type.ll

  Log Message:
  -----------
  [LV] Round outer-loop VPlan VF down to a power of two (#205646)

computeVPlanOuterloopVF computes the VF as max(1, RegSize / WidestType).
WidestType may not be a power of two, which resulted in a non-power-of-2
VF. Round down like in the inner loop path.



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