[llvm-commits] [llvm] r132749 - /llvm/trunk/lib/CodeGen/TailDuplication.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Jun 8 07:23:19 PDT 2011
Author: rafael
Date: Wed Jun 8 09:23:19 2011
New Revision: 132749
URL: http://llvm.org/viewvc/llvm-project?rev=132749&view=rev
Log:
Fix count.
Modified:
llvm/trunk/lib/CodeGen/TailDuplication.cpp
Modified: llvm/trunk/lib/CodeGen/TailDuplication.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TailDuplication.cpp?rev=132749&r1=132748&r2=132749&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TailDuplication.cpp (original)
+++ llvm/trunk/lib/CodeGen/TailDuplication.cpp Wed Jun 8 09:23:19 2011
@@ -247,7 +247,6 @@
}
}
- NumAddedPHIs += NewPHIs.size();
SSAUpdateVRs.clear();
SSAUpdateVals.clear();
}
@@ -273,6 +272,7 @@
MadeChange = true;
}
}
+ NumAddedPHIs += NewPHIs.size();
return MadeChange;
}
More information about the llvm-commits
mailing list