[all-commits] [llvm/llvm-project] abf596: [VPlan] Don't compute costs if there are no vector...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jun 24 00:39:41 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll

  Log Message:
  -----------
  [VPlan] Don't compute costs if there are no vector VPlans.

In some cases, no vector VPlans can be constructed due to failing VPlan
legality checks (e.g. unable to perform sinking for first order
recurrences or plans being incompatible with EVL).

There's no need to compute costs in those cases, so check directly if
there are no vector plans.



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