OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
335fd3c
)
in functions that use a lot of callee saved regs, this can be more than
author
Chris Lattner
<sabre@nondot.org>
Thu, 16 Mar 2006 21:31:45 +0000
(21:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 16 Mar 2006 21:31:45 +0000
(21:31 +0000)
5 instructions away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26801
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCRegisterInfo.cpp
b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index
c8d2f3a
..
148449c
100644
(file)
--- a/
lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/
lib/Target/PowerPC/PPCRegisterInfo.cpp
@@
-315,7
+315,7
@@
void PPCRegisterInfo::emitPrologue(MachineFunction &MF) const {
// Scan the first few instructions of the prolog, looking for an UPDATE_VRSAVE
// instruction. If we find it, process it.
- for (unsigned i = 0; MBBI != MBB.end()
&& i < 5
; ++i, ++MBBI) {
+ for (unsigned i = 0; MBBI != MBB.end(); ++i, ++MBBI) {
if (MBBI->getOpcode() == PPC::UPDATE_VRSAVE) {
HandleVRSaveUpdate(MBBI, MF.getUsedPhysregs());
break;