[all-commits] [llvm/llvm-project] 06fd10: [VPlan] Don't create ExtractElement recipes for sc...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Mar 23 15:00:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06fd10f1da8143a048763e5701e7bd4eb4dc1271
      https://github.com/llvm/llvm-project/commit/06fd10f1da8143a048763e5701e7bd4eb4dc1271
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-03-23 (Sun, 23 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/early_exit_costs.ll

  Log Message:
  -----------
  [VPlan] Don't create ExtractElement recipes for scalar plans. (#131604)

ExtractElements are no-ops for scalar VPlans. Don't introduce them in 
handleUncountableEarlyExit if the plan has only a scalar VF.

This fixes a crash trying to compute the cost of ExtractElement after 26ecf978951b79.

PR: https://github.com/llvm/llvm-project/pull/131604



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