[llvm-commits] [llvm] r105470 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Jim Grosbach
grosbach at apple.com
Fri Jun 4 10:57:34 PDT 2010
Author: grosbach
Date: Fri Jun 4 12:57:34 2010
New Revision: 105470
URL: http://llvm.org/viewvc/llvm-project?rev=105470&view=rev
Log:
Another fix to prevent debug info from affecting codegen. rdar://7797940
Modified:
llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp?rev=105470&r1=105469&r2=105470&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Fri Jun 4 12:57:34 2010
@@ -1024,6 +1024,10 @@
RS->enterBasicBlock(&MBB);
MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
while (MBBI != E) {
+ if (MBBI->isDebugValue()) {
+ ++MBBI;
+ continue;
+ }
if (FixInvalidRegPairOp(MBB, MBBI))
continue;
More information about the llvm-commits
mailing list