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

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Mon Apr 28 09:12:46 PDT 2025


  Branch: refs/heads/users/kasuga-fj/pipeliner-introduce-loopcarriededges
  Home:   https://github.com/llvm/llvm-project
  Commit: 487aa84ff51e727fc53b1dc5da52281c14adebca
      https://github.com/llvm/llvm-project/commit/487aa84ff51e727fc53b1dc5da52281c14adebca
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-04-28 (Mon, 28 Apr 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