[all-commits] [llvm/llvm-project] a9b299: [VPlan] Skip cost assert if VPlan converted to sin...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat May 24 03:10:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9b2998e315af64b7a68606af9064db425699c39
      https://github.com/llvm/llvm-project/commit/a9b2998e315af64b7a68606af9064db425699c39
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-24 (Sat, 24 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanHelpers.h
    M llvm/test/Transforms/LoopVectorize/X86/uniform_load.ll

  Log Message:
  -----------
  [VPlan] Skip cost assert if VPlan converted to single-scalar recipes.

Check if a VPlan transform converted recipes to single-scalar
VPReplicateRecipes (after 07c085af3efcd67503232f99a1652efc6e54c1a9). If
that's the case, the legacy cost model incorrectly overestimates the cost.

Fixes https://github.com/llvm/llvm-project/issues/141237.



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