LLVM 24.0.0git
AMDGPUWaitSGPRHazards.cpp File Reference

Insert s_wait_alu instructions to mitigate SGPR read hazards on GFX12. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-wait-sgpr-hazards"

Functions

 INITIALIZE_PASS (AMDGPUWaitSGPRHazardsLegacy, DEBUG_TYPE, "AMDGPU Insert waits for SGPR read hazards", false, false) PreservedAnalyses AMDGPUWaitSGPRHazardsPass

Detailed Description

Insert s_wait_alu instructions to mitigate SGPR read hazards on GFX12.

Definition in file AMDGPUWaitSGPRHazards.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-wait-sgpr-hazards"

Definition at line 23 of file AMDGPUWaitSGPRHazards.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( AMDGPUWaitSGPRHazardsLegacy ,
DEBUG_TYPE ,
"AMDGPU Insert waits for SGPR read hazards" ,
false ,
false  )