llvm-project
60a8b2b1 - [AMDGPU] Add MachineVerifier check to detect illegal copies from vector register to SGPR (#105494)

Commit
1 year ago
[AMDGPU] Add MachineVerifier check to detect illegal copies from vector register to SGPR (#105494) Addition of a check in the MachineVerifier to detect and report illegal vector registers to SGPR copies in the AMDGPU backend, ensuring correct code generation. We can enforce this check only after SIFixSGPRCopies pass. This is half-fix in the pipeline with the help of isSSA MachineFuction property, the check is happening for passes after phi-node-elimination.
Author
Aditi Medhane
Parents
Loading