Another fix to prevent debug info from affecting codegen. rdar://7797940

llvm-svn: 105470
This commit is contained in:
Jim Grosbach 2010-06-04 17:57:34 +00:00
parent 64176c2c97
commit 3548803f62
1 changed files with 4 additions and 0 deletions

View File

@ -1024,6 +1024,10 @@ bool ARMLoadStoreOpt::LoadStoreMultipleOpti(MachineBasicBlock &MBB) {
RS->enterBasicBlock(&MBB);
MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
while (MBBI != E) {
if (MBBI->isDebugValue()) {
++MBBI;
continue;
}
if (FixInvalidRegPairOp(MBB, MBBI))
continue;