[all-commits] [llvm/llvm-project] 654bb4: [LV] Don't consider branches leaving loop in colle...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Sep 1 12:37:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 654bb4e9f287f9ccb5142d1c62a9ab17c16e29d7
      https://github.com/llvm/llvm-project/commit/654bb4e9f287f9ccb5142d1c62a9ab17c16e29d7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-09-01 (Sun, 01 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/dead-ops-cost.ll

  Log Message:
  -----------
  [LV] Don't consider branches leaving loop in collectValuesToIgnore.

Branches exiting the loop will remain regardless, so don't consider them
in collectValuesToIgnore.

This fixes another divergence between legacy and VPlan-based cost model.

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



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