LLVM 22.0.0git
AMDGPUReserveWWMRegs.cpp File Reference

This pass should be invoked at the end of wwm-regalloc pipeline. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-reserve-wwm-regs"

Detailed Description

This pass should be invoked at the end of wwm-regalloc pipeline.

It identifies the WWM regs allocated during this pipeline and add them to the list of reserved registers so that they won't be available for per-thread VGPR allocation in the subsequent regalloc pipeline.

Definition in file AMDGPUReserveWWMRegs.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-reserve-wwm-regs"

Definition at line 26 of file AMDGPUReserveWWMRegs.cpp.