[all-commits] [llvm/llvm-project] 987bf8: Let targets adjust operand latency of bundles

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Jan 10 14:57:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 987bf8b6c14613da907fa78330415e266b97a036
      https://github.com/llvm/llvm-project/commit/987bf8b6c14613da907fa78330415e266b97a036
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  Let targets adjust operand latency of bundles

This reverts the AMDGPU DAG mutation implemented in D72487 and gives
a more general way of adjusting BUNDLE operand latency.

It also replaces FixBundleLatencyMutation with adjustSchedDependency
callback in the AMDGPU, fixing not only successor latencies but
predecessors' as well.

Differential Revision: https://reviews.llvm.org/D72535




More information about the All-commits mailing list