Issue 129635
Summary AMDGPU should handle local stack slot allocation optimization for scalar uses of frame indexes
Labels backend:AMDGPU, missed-optimization
Assignees
Reporter arsenm
    WIP patch: [0001-AMDGPU-LocalStackSlotAlloc-support-for-s_add_i32.patch](https://github.com/user-attachments/files/19063529/0001-AMDGPU-LocalStackSlotAlloc-support-for-s_add_i32.patch)


The local stack slot optimization currently does not work for SALU uses of frame indexes. The difficulty is the pass assumes there is one register class to use for the base register, but we need to contextually select a VGPR or SGPR depending on the uses 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to