projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6aedf7
)
Doh. ARM::PC is obvious a reserved register.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 28 Feb 2007 23:12:34 +0000
(23:12 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 28 Feb 2007 23:12:34 +0000
(23:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34763
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMRegisterInfo.cpp
b/lib/Target/ARM/ARMRegisterInfo.cpp
index 2c53bfd6938f177edab19757d51633aa4ae7917c..3dac8b030b3747acc5abf2798b7a6f9c3b17e029 100644
(file)
--- a/
lib/Target/ARM/ARMRegisterInfo.cpp
+++ b/
lib/Target/ARM/ARMRegisterInfo.cpp
@@
-315,6
+315,7
@@
ARMRegisterInfo::getCalleeSavedRegClasses() const {
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.