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

Bill Wendling isanbard at gmail.com
Thu Nov 12 11:01:04 PST 2009


Author: void
Date: Thu Nov 12 13:01:03 2009
New Revision: 87013

URL: http://llvm.org/viewvc/llvm-project?rev=87013&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/lib/CodeGen/PreAllocSplitting.cpp

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

==============================================================================
--- llvm/branches/Apple/Leela/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/branches/Apple/Leela/lib/CodeGen/PreAllocSplitting.cpp Thu Nov 12 13:01:03 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