mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
R600/SI: Make constant array static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d24e90a5de
commit
d9cd6cfb7d
@ -267,7 +267,7 @@ unsigned SIRegisterInfo::getHWRegIndex(unsigned Reg) const {
|
|||||||
const TargetRegisterClass *SIRegisterInfo::getPhysRegClass(unsigned Reg) const {
|
const TargetRegisterClass *SIRegisterInfo::getPhysRegClass(unsigned Reg) const {
|
||||||
assert(!TargetRegisterInfo::isVirtualRegister(Reg));
|
assert(!TargetRegisterInfo::isVirtualRegister(Reg));
|
||||||
|
|
||||||
const TargetRegisterClass *BaseClasses[] = {
|
static const TargetRegisterClass *BaseClasses[] = {
|
||||||
&AMDGPU::VReg_32RegClass,
|
&AMDGPU::VReg_32RegClass,
|
||||||
&AMDGPU::SReg_32RegClass,
|
&AMDGPU::SReg_32RegClass,
|
||||||
&AMDGPU::VReg_64RegClass,
|
&AMDGPU::VReg_64RegClass,
|
||||||
|
Loading…
Reference in New Issue
Block a user