[llvm-branch-commits] [llvm-branch] r105471 - in /llvm/branches/Apple/Troughton: ./ lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Jim Grosbach grosbach at apple.com
Fri Jun 4 10:58:36 PDT 2010


Author: grosbach
Date: Fri Jun  4 12:58:36 2010
New Revision: 105471

URL: http://llvm.org/viewvc/llvm-project?rev=105471&view=rev
Log:
merge 105470

Modified:
    llvm/branches/Apple/Troughton/   (props changed)
    llvm/branches/Apple/Troughton/lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Propchange: llvm/branches/Apple/Troughton/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jun  4 12:58:36 2010
@@ -1 +1 @@
-/llvm/trunk:105358,105361,105369,105372,105399,105427,105437,105439,105441
+/llvm/trunk:105358,105361,105369,105372,105399,105427,105437,105439,105441,105470

Modified: llvm/branches/Apple/Troughton/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Troughton/lib/Target/ARM/ARMLoadStoreOptimizer.cpp?rev=105471&r1=105470&r2=105471&view=diff
==============================================================================
--- llvm/branches/Apple/Troughton/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/branches/Apple/Troughton/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Fri Jun  4 12:58:36 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-branch-commits mailing list