[all-commits] [llvm/llvm-project] 320038: [VPlan] Return cost of PHI for scalar VFs in compu...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Nov 21 13:12:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 320038579d3c23b78f99618b71640f51423fe321
      https://github.com/llvm/llvm-project/commit/320038579d3c23b78f99618b71640f51423fe321
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/invalid-costs.ll

  Log Message:
  -----------
  [VPlan] Return cost of PHI for scalar VFs in computeCost for FORs.

This fixes a crash when the VF is scalar.

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



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