mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
Reserve r29 on Alpha. This fixes all verifier failures in CodeGen/Alpha.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
db28247522
commit
20a41cb2b2
@ -69,6 +69,7 @@ const unsigned* AlphaRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF)
|
||||
BitVector AlphaRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
|
||||
BitVector Reserved(getNumRegs());
|
||||
Reserved.set(Alpha::R15);
|
||||
Reserved.set(Alpha::R29);
|
||||
Reserved.set(Alpha::R30);
|
||||
Reserved.set(Alpha::R31);
|
||||
return Reserved;
|
||||
|
Loading…
x
Reference in New Issue
Block a user