[all-commits] [llvm/llvm-project] 5297cb: [AMDGPU] Enable copy between VGPR and AGPR classes...
Christudasan Devadasan via All-commits
all-commits at lists.llvm.org
Mon Nov 29 19:22:23 PST 2021
Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)
[AMDGPU] Enable copy between VGPR and AGPR classes during regalloc
Greedy register allocator prefers to move a constrained
live range into a larger allocatable class over spilling
them. This patch defines the necessary superclasses for
vector registers. For subtargets that support copy between
VGPRs and AGPRs, the vector register spills during regalloc
now become just copies.
Reviewed By: rampitec, arsenm
Differential Revision: https://reviews.llvm.org/D109301
More information about the All-commits