Go to the source code of this file.
|
#define | DEBUG_TYPE "amdgpu-regbanklegalize" |
| Lower G_ instructions that can't be inst-selected with register bank assignment from AMDGPURegBankSelect based on machine uniformity info.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "amdgpu-regbanklegalize" |
Lower G_ instructions that can't be inst-selected with register bank assignment from AMDGPURegBankSelect based on machine uniformity info.
Given types on all operands, some register bank assignments require lowering while others do not. Note: cases where all register bank assignments would require lowering are lowered in legalizer. For example vgpr S64 G_AND requires lowering to S32 while sgpr S64 does not. Eliminate sgpr S1 by lowering to sgpr S32.
Definition at line 24 of file AMDGPURegBankLegalize.cpp.
◆ INITIALIZE_PASS_BEGIN()
INITIALIZE_PASS_BEGIN |
( |
AMDGPURegBankLegalize |
, |
|
|
DEBUG_TYPE |
, |
|
|
"AMDGPU Register Bank Legalize" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
◆ DEBUG_TYPE
◆ false
◆ Legalize