[PATCH] D141101: [AMDGPU] More selectively attach implicit operands to agpr spills
Jeffrey Byrnes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 09:11:04 PST 2023
jrbyrnes updated this revision to Diff 486900.
jrbyrnes added a comment.
Add tests to capture problematic cases. Be more pessimistic about overlapping agpr copies (since we allocate vgprs in triplets, we cannot special case VGPRForAGPRCopy). Resolve nit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141101/new/
https://reviews.llvm.org/D141101
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
llvm/test/CodeGen/AMDGPU/agpr-copy-reuse-writes.mir
llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll
llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
llvm/test/CodeGen/AMDGPU/pei-build-spill-partial-agpr.mir
llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
llvm/test/CodeGen/AMDGPU/spill-agpr.mir
llvm/test/CodeGen/AMDGPU/spill-to-agpr-partial.mir
llvm/test/CodeGen/AMDGPU/vector-spill-restore-to-other-vector-type.mir
More information about the llvm-commits
mailing list