File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -4017,28 +4017,6 @@ bool SIRegisterInfo::isProperlyAlignedRC(const TargetRegisterClass &RC) const {
40174017 return true ;
40184018}
40194019
4020- const TargetRegisterClass *
4021- SIRegisterInfo::getProperlyAlignedRC (const TargetRegisterClass *RC) const {
4022- if (!RC || !ST.needsAlignedVGPRs ())
4023- return RC;
4024-
4025- unsigned Size = getRegSizeInBits (*RC);
4026- if (Size <= 32 )
4027- return RC;
4028-
4029- if (RC == &AMDGPU::VS_64RegClass)
4030- return &AMDGPU::VS_64_Align2RegClass;
4031-
4032- if (isVGPRClass (RC))
4033- return getAlignedVGPRClassForBitWidth (Size);
4034- if (isAGPRClass (RC))
4035- return getAlignedAGPRClassForBitWidth (Size);
4036- if (isVectorSuperClass (RC))
4037- return getAlignedVectorSuperClassForBitWidth (Size);
4038-
4039- return RC;
4040- }
4041-
40424020ArrayRef<MCPhysReg>
40434021SIRegisterInfo::getAllSGPR128 (const MachineFunction &MF) const {
40444022 return ArrayRef (AMDGPU::SGPR_128RegClass.begin (), ST.getMaxNumSGPRs (MF) / 4 );
Original file line number Diff line number Diff line change @@ -439,11 +439,6 @@ class SIRegisterInfo final : public AMDGPUGenRegisterInfo {
439439 // the subtarget.
440440 bool isProperlyAlignedRC (const TargetRegisterClass &RC) const ;
441441
442- // Given \p RC returns corresponding aligned register class if required
443- // by the subtarget.
444- const TargetRegisterClass *
445- getProperlyAlignedRC (const TargetRegisterClass *RC) const ;
446-
447442 // / Return all SGPR128 which satisfy the waves per execution unit requirement
448443 // / of the subtarget.
449444 ArrayRef<MCPhysReg> getAllSGPR128 (const MachineFunction &MF) const ;
You can’t perform that action at this time.
0 commit comments