[all-commits] [llvm/llvm-project] c49065: [VPlan] Use skipCostComputation when pre-computing...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Aug 29 13:21:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4906588ce47de33d59bcd95f3e82ce2c3e61c23
      https://github.com/llvm/llvm-project/commit/c4906588ce47de33d59bcd95f3e82ce2c3e61c23
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/RISCV/induction-costs.ll

  Log Message:
  -----------
  [VPlan] Use skipCostComputation when pre-computing induction costs.

This ensures we skip any instructions identified to be ignored by the
legacy cost model as well. Fixes a divergence between legacy and
VPlan-based cost model.

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



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