llvm-project
140b4ec6 - [AMDGPU] Use pessimistic fixpoint in AAAMDGPUMinAGPRAlloc for sanitized functions (#197795)

Commit
153 days ago
[AMDGPU] Use pessimistic fixpoint in AAAMDGPUMinAGPRAlloc for sanitized functions (#197795) Adding pessimistic fixpoint when a function has any sanitizer attribute (`sanitize_address`, `sanitize_memory`, `sanitize_thread`, `sanitize_hwaddress`, `sanitize_mem_tag`). This prevents the Attributor from inferring "amdgpu-agpr-alloc"="0" for sanitized functions or their callers, letting the register allocator conservatively reserve AGPR capacity. This patch should prevent kernel to exceeds the hardware register budget on gfx90a where VPGR and AGPR share the same physical register file. --------- Co-authored-by: Brendon Cahoon <Brendon.Cahoon@amd.com>
Author
Parents
Loading