[all-commits] [llvm/llvm-project] fe6782: [TargetInstrInfo] Add target hook for InstrSchedMo...

Austin Kerbow via All-commits all-commits at lists.llvm.org
Wed Feb 26 09:58:26 PST 2025


  Branch: refs/heads/users/kerbowa/sched-dynamic-latencies
  Home:   https://github.com/llvm/llvm-project
  Commit: fe6782da986b184d334b222a2adfefa4aa4b4bb4
      https://github.com/llvm/llvm-project/commit/fe6782da986b184d334b222a2adfefa4aa4b4bb4
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/include/llvm/CodeGen/TargetSchedule.h
    M llvm/lib/CodeGen/TargetInstrInfo.cpp
    M llvm/lib/CodeGen/TargetSchedule.cpp

  Log Message:
  -----------
  [TargetInstrInfo] Add target hook for InstrSchedModel latency. [NFCI]

Allows targets to dynamically set latency values in the DAG builder.
This is useful in multi-pass schedulers like in the AMDGUP backend where
we may want to schedule a region multiple times with a different machine
model or tweaked latencies for a specific instruction type.



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