Files
clang-p2996/llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
Ana Mihajlovic 08d747c1ef [AMDGPU] Fix bad removal of s_delay_alu (#145728)
instructionWaitsForSGPRWrites function covers ALL SALU instructions,
including those like s_waitcnt that don't read from sgpr. This results
in removing delay_alu instructions in cases like VALU->SGPR->VALU, which
results in performance regression. Change modifies the function so that
it checks if instruction also reads a sgpr.
2025-06-27 16:15:10 +02:00

17 KiB