[all-commits] [llvm/llvm-project] 3108cb: [RISCV][NFC] Simplify the creation of Scheduler (#...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Tue Jun 3 02:55:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3108cbdfe94ab9ad38c745f1e78aea56fdf9d291
      https://github.com/llvm/llvm-project/commit/3108cbdfe94ab9ad38c745f1e78aea56fdf9d291
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp

  Log Message:
  -----------
  [RISCV][NFC] Simplify the creation of Scheduler (#142553)

If `createMachineScheduler`/`createPostMachineScheduler` return a
`nullptr`, then we will call `createSchedLive`/`createSchedPostRA`
anyway.

We can always create the Scheduler first and simplify the following
conditions.



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