[PATCH] D72535: Let targets to adjust operand latency of bundles

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 12:35:37 PST 2020


rampitec created this revision.
rampitec added reviewers: foad, kerbowa, kparzysz.
Herald added subscribers: hiraditya, tpr, nhaehnle, jvesely, arsenm, MatzeB.
Herald added a project: LLVM.

This reverts the AMDGPU DAG mutation implemented in D72487 <https://reviews.llvm.org/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.


https://reviews.llvm.org/D72535

Files:
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
  llvm/lib/Target/AMDGPU/SIInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72535.237415.patch
Type: text/x-patch
Size: 4900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200110/b02c35a8/attachment-0001.bin>


More information about the llvm-commits mailing list