llvm-project
cc89e39f - [AMDGPU][NFC] Precommit test for SIFixSGPRCopies PHI-to-AGPR rewrite (#247814)

Commit
11 hours ago
[AMDGPU][NFC] Precommit test for SIFixSGPRCopies PHI-to-AGPR rewrite (#247814) `processPHINode` moves a VGPR PHI to an AGPR class when all of its uses are copies to AGPRs. A `DBG_VALUE` use of the PHI blocks the move, so the class depends on `-g`. The checks show the current behavior: the PHIs in `phi_agpr_use` and `phi_agpr_use_64` become `agpr_32` and `areg_64_align2`, while the one in `phi_agpr_use_dbg_value` stays `vgpr_32`. This came up in the review of #245761. Assisted-by: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Krzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Author
Parents
Loading