[all-commits] [llvm/llvm-project] e19ac0: [MachinePipeliner] Fix constraints aren't consider...

Ryotaro KASUGA via All-commits all-commits at lists.llvm.org
Sun Jun 30 17:07:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e19ac0dcfd7357161210f157ed0559836e88155f
      https://github.com/llvm/llvm-project/commit/e19ac0dcfd7357161210f157ed0559836e88155f
  Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachinePipeliner.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir

  Log Message:
  -----------
  [MachinePipeliner] Fix constraints aren't considered in certain cases (#95356)

when scheduling

When scheduling an instruction, if both any predecessors and any
successors of the instruction are already scheduled, `SchedStart` isn't
taken into account. It may result generating incorrect code. This patch
fixes the problem. Also, this patch merges `SchedStart` into
`EarlyStart` (same for `SchedEnd`).

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



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