mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
in functions that use a lot of callee saved regs, this can be more than
5 instructions away. llvm-svn: 26801
This commit is contained in:
parent
bf153651b1
commit
7f5361757b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user