diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-05-18 21:54:32 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-05-18 21:54:32 +0000 |
commit | 20a41cb2b21feeeaf4da56492387573086be843d (patch) | |
tree | fcff6be032676178db3562993a39d1bca5be4217 | |
parent | db28247522af0a6190c9cab8dc32e7d4df9f5509 (diff) | |
download | external_llvm-20a41cb2b21feeeaf4da56492387573086be843d.zip external_llvm-20a41cb2b21feeeaf4da56492387573086be843d.tar.gz external_llvm-20a41cb2b21feeeaf4da56492387573086be843d.tar.bz2 |
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
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 7667fd8..53a464d 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -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; |