[all-commits] [llvm/llvm-project] a0d667: [LV] Add users to recurrence tests to make sure th...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 17 03:58:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0d667b89bfe219d8c9842081c2f7d7e3556010b
      https://github.com/llvm/llvm-project/commit/a0d667b89bfe219d8c9842081c2f7d7e3556010b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
    M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll

  Log Message:
  -----------
  [LV] Add users to recurrence tests to make sure they are not removable.

This ensures VPlan-based DCE won't be able to remove the unused
recurrences.

It also adds a dedicated new test (@unused_recurrence) where an unused
recurrence can be removed.




More information about the All-commits mailing list