llvm-project
30ceca08 - [AMDGPU][GISel] Add RegBankLegalize rule for G_STACKRESTORE (#239502)

Commit
22 days ago
[AMDGPU][GISel] Add RegBankLegalize rule for G_STACKRESTORE (#239502) `G_STACKRESTORE` had no `AMDGPURegBankLegalize` rule, so `llvm.stackrestore.p5` fails with "No AMDGPU `RegBankLegalize` rules defined for opcode". Map the `p5` operand with `SgprB32_ReadFirstLane`, matching `AMDGPURegisterBankInfo` mapping and the `SReg_32` requirement in `selectStackRestore`.
Parents
Loading