[all-commits] [llvm/llvm-project] 920495: [MISched] Compare right next cluster node (#116584)

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Mon Dec 9 22:44:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 920495c959d44881b8bb602036c8ea003a04dc3f
      https://github.com/llvm/llvm-project/commit/920495c959d44881b8bb602036c8ea003a04dc3f
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/test/CodeGen/RISCV/macro-fusion-lui-addi.ll

  Log Message:
  -----------
  [MISched] Compare right next cluster node (#116584)

We support bottom-up and bidirectonal postra scheduling now, but we
only compare successive next cluster node as if we are doing topdown
scheduling. This makes load/store clustering and macro fusions wrong.

This patch makes sure that we can get the right cluster node by the
scheduling direction.



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