[llvm-commits] [llvm] r80966 - in /llvm/trunk: lib/Analysis/ProfileInfoLoaderPass.cpp test/Analysis/Profiling/

Bill Wendling isanbard at gmail.com
Thu Sep 3 16:13:47 PDT 2009


Author: void
Date: Thu Sep  3 18:13:46 2009
New Revision: 80966

URL: http://llvm.org/viewvc/llvm-project?rev=80966&view=rev
Log:
--- Reverse-merging r80908 into '.':
D    test/Analysis/Profiling

--- Reverse-merging r80907 into '.':
U    lib/Analysis/ProfileInfoLoaderPass.cpp

Attempt to remove failure in the self-hosting build bot.

Removed:
    llvm/trunk/test/Analysis/Profiling/
Modified:
    llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp

Modified: llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp?rev=80966&r1=80965&r2=80966&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp Thu Sep  3 18:13:46 2009
@@ -159,7 +159,7 @@
 void LoaderPass::readOrRememberEdge(ProfileInfo::Edge e,
                                     unsigned weight, unsigned ei,
                                     Function *F) {
-  if (weight != ~0U) {
+  if (weight != (unsigned)MissingValue) {
     EdgeInformation[F][e] += weight;
     DEBUG(errs()<<"--Read Edge Counter for " << e 
                 <<" (# "<<ei<<"): "<<(unsigned)getEdgeWeight(e)<<"\n");





More information about the llvm-commits mailing list