llvm-project
1687f980 - [AMDGPU] Make AMDGPURewriteAGPRCopyMFMA aware of subreg reload

Commit
18 hours ago
[AMDGPU] Make AMDGPURewriteAGPRCopyMFMA aware of subreg reload AMDGPURewriteAGPRCopyMFMA pass is currently not subreg-aware. In particular, the logic that optimizes spills into COPY instructions assumes full register reloads. This becomes problematic when the reload instruction partially restores a tuple register. This patch introduces the necessary changes to make this pass subreg-aware, for a future patch that implements subreg reload during RA.
Author
Committer
Parents
Loading