[llvm-commits] CVS: llvm/lib/Target/ARM/ARMRegisterInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Feb 28 15:12:50 PST 2007
Changes in directory llvm/lib/Target/ARM:
ARMRegisterInfo.cpp updated: 1.75 -> 1.76
---
Log message:
Doh. ARM::PC is obvious a reserved register.
---
Diffs of the changes: (+1 -0)
ARMRegisterInfo.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp
diff -u llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.75 llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.76
--- llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.75 Tue Feb 27 18:59:19 2007
+++ llvm/lib/Target/ARM/ARMRegisterInfo.cpp Wed Feb 28 17:12:34 2007
@@ -315,6 +315,7 @@
BitVector ARMRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
BitVector Reserved(getNumRegs());
Reserved.set(ARM::SP);
+ Reserved.set(ARM::PC);
if (STI.isTargetDarwin() || hasFP(MF))
Reserved.set(FramePtr);
// Some targets reserve R9.
More information about the llvm-commits
mailing list