[llvm] [AMDGPU] Rewrite GFX12 SGPR hazard handling to dedicated pass (PR #118750)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 00:58:36 PST 2025
================
@@ -1670,6 +1672,8 @@ void GCNPassConfig::addPreEmitPass() {
// cases.
addPass(&PostRAHazardRecognizerID);
+ addPass(&AMDGPUWaitSGPRHazardsLegacyID);
----------------
perlfu wrote:
In theory InsertDelayAlu can adjust `s_delay_alu` settings based on presence of `s_wait_alu` instructions, but I don't think support for this tracking yet exists.
Pass position was to place it after PostRAHazardRecognizer from where functionality was moved.
https://github.com/llvm/llvm-project/pull/118750
More information about the llvm-commits
mailing list