diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-09-03 23:13:46 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-09-03 23:13:46 +0000 |
commit | 92291f6ad0db3e7f65cc57e4ecef42704f1c5193 (patch) | |
tree | 2736bd42dc475930a555be0ed36de41efe06bba0 /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | |
parent | bc52e4fe7302d8cd78de76b3f1f5928488edeed6 (diff) | |
download | bcm5719-llvm-92291f6ad0db3e7f65cc57e4ecef42704f1c5193.tar.gz bcm5719-llvm-92291f6ad0db3e7f65cc57e4ecef42704f1c5193.zip |
--- 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.
llvm-svn: 80966
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index e79dd8c0c22..1a2332c0e99 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -159,7 +159,7 @@ void LoaderPass::recurseBasicBlock(const BasicBlock *BB) { 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"); |