[all-commits] [llvm/llvm-project] ba27ad: [MachinePipeliner] Introduce a new class for loop-...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Wed May 14 02:21:58 PDT 2025


  Branch: refs/heads/users/kasuga-fj/pipeliner-introduce-loopcarriededges
  Home:   https://github.com/llvm/llvm-project
  Commit: ba27ad28d218ab7856c556d44bfa792762fc623a
      https://github.com/llvm/llvm-project/commit/ba27ad28d218ab7856c556d44bfa792762fc623a
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    A llvm/test/CodeGen/AArch64/sms-loop-carried-fp-exceptions1.mir
    A llvm/test/CodeGen/AArch64/sms-loop-carried-fp-exceptions2.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep1.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep2.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep3.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep4.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep5.mir
    A llvm/test/CodeGen/Hexagon/swp-loop-carried-order-dep6.mir

  Log Message:
  -----------
  [MachinePipeliner] Introduce a new class for loop-carried deps

In MachinePipeliner, loop-carried memory dependencies are represented by
DAG, which makes things complicated and causes some necessary
dependencies to be missing. This patch introduces a new class to manage
loop-carried memory dependencies to simplify the logic. The ultimate
goal is to add currently missing dependencies, but this is a first step
of that, and this patch doesn't intend to change current behavior. This
patch also adds new tests that show the missed dependencies, which
should be fixed in the future.

Split off from #135148



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