[llvm] [AMDGPU] Treat XDL ops as TRANS on gfx12 (PR #130692)
Changpeng Fang via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 10 18:02:43 PDT 2025
================
@@ -51,12 +52,15 @@ class AMDGPUInsertDelayAlu {
enum DelayType { VALU, TRANS, SALU, OTHER };
// Get the delay type for an instruction with the specified TSFlags.
- static DelayType getDelayType(uint64_t TSFlags) {
- if (TSFlags & SIInstrFlags::TRANS)
+ DelayType getDelayType(MachineInstr &MI) {
----------------
changpeng wrote:
Should still be a "static" function?
https://github.com/llvm/llvm-project/pull/130692
More information about the llvm-commits
mailing list