[llvm-branch-commits] [llvm-branch] r87012 - /llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp

Bill Wendling isanbard at gmail.com
Thu Nov 12 11:00:57 PST 2009


Author: void
Date: Thu Nov 12 13:00:56 2009
New Revision: 87012

URL: http://llvm.org/viewvc/llvm-project?rev=87012&view=rev
Log:
$ svn merge -c 86919 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r86919 into '.':
U    lib/CodeGen/PreAllocSplitting.cpp


Modified:
    llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp

Modified: llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp?rev=87012&r1=87011&r2=87012&view=diff

==============================================================================
--- llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/branches/Apple/Leela-M1/lib/CodeGen/PreAllocSplitting.cpp Thu Nov 12 13:00:56 2009
@@ -1377,7 +1377,7 @@
       // Otherwise, this is a load-store case, so DCE them.
       for (SmallPtrSet<MachineInstr*, 4>::iterator UI = 
            VNUseCount[CurrVN].begin(), UE = VNUseCount[CurrVN].end();
-           UI != UI; ++UI) {
+           UI != UE; ++UI) {
         LIs->RemoveMachineInstrFromMaps(*UI);
         (*UI)->eraseFromParent();
       }





More information about the llvm-branch-commits mailing list