mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 00:15:55 +00:00
Revert array initialization regclass change so that the initialization stays static, not runtime.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e11a8f565c
commit
82b3c2e404
@ -164,46 +164,42 @@ ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
|
||||
const TargetRegisterClass* const *
|
||||
ARMBaseRegisterInfo::getCalleeSavedRegClasses(const MachineFunction *MF) const {
|
||||
static const TargetRegisterClass * const CalleeSavedRegClasses[] = {
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
0
|
||||
};
|
||||
|
||||
static const TargetRegisterClass * const ThumbCalleeSavedRegClasses[] = {
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::tGPRRegisterClass,
|
||||
ARM::tGPRRegisterClass,ARM::tGPRRegisterClass,ARM::tGPRRegisterClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::tGPRRegClass,
|
||||
&ARM::tGPRRegClass,&ARM::tGPRRegClass,&ARM::tGPRRegClass,
|
||||
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
0
|
||||
};
|
||||
|
||||
static const TargetRegisterClass * const DarwinCalleeSavedRegClasses[] = {
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
0
|
||||
};
|
||||
|
||||
static const TargetRegisterClass * const DarwinThumbCalleeSavedRegClasses[] ={
|
||||
ARM::GPRRegisterClass, ARM::tGPRRegisterClass, ARM::tGPRRegisterClass,
|
||||
ARM::tGPRRegisterClass, ARM::tGPRRegisterClass, ARM::GPRRegisterClass,
|
||||
ARM::GPRRegisterClass, ARM::GPRRegisterClass,
|
||||
&ARM::GPRRegClass, &ARM::tGPRRegClass, &ARM::tGPRRegClass,
|
||||
&ARM::tGPRRegClass, &ARM::tGPRRegClass, &ARM::GPRRegClass,
|
||||
&ARM::GPRRegClass, &ARM::GPRRegClass,
|
||||
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
ARM::DPRRegisterClass, ARM::DPRRegisterClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
&ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass, &ARM::DPRRegClass,
|
||||
0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user