[llvm-commits] [llvm] r78089 - /llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Aug 4 12:17:29 PDT 2009
Author: stoklund
Date: Tue Aug 4 14:16:55 2009
New Revision: 78089
URL: http://llvm.org/viewvc/llvm-project?rev=78089&view=rev
Log:
Most flags are reserved registers on Blackfin.
The only exception is CC.
Modified:
llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp?rev=78089&r1=78088&r2=78089&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/Blackfin/BlackfinRegisterInfo.cpp Tue Aug 4 14:16:55 2009
@@ -63,6 +63,17 @@
BlackfinRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
using namespace BF;
BitVector Reserved(getNumRegs());
+ Reserved.set(AZ);
+ Reserved.set(AN);
+ Reserved.set(AQ);
+ Reserved.set(AC0);
+ Reserved.set(AC1);
+ Reserved.set(AV0);
+ Reserved.set(AV0S);
+ Reserved.set(AV1);
+ Reserved.set(AV1S);
+ Reserved.set(V);
+ Reserved.set(VS);
Reserved.set(L0);
Reserved.set(L1);
Reserved.set(L2);
More information about the llvm-commits
mailing list