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 | e76bfd9f87d7255a4f0940e3a5f911e22cba7f6c (patch) | |
| tree | f1aa9ac77495d55d35433d714d7d4c64d3791d1d /lib | |
| parent | f3ff0b0ad79a27cbcfbfa456ae031b310bd64d63 (diff) | |
| download | external_llvm-e76bfd9f87d7255a4f0940e3a5f911e22cba7f6c.zip external_llvm-e76bfd9f87d7255a4f0940e3a5f911e22cba7f6c.tar.gz external_llvm-e76bfd9f87d7255a4f0940e3a5f911e22cba7f6c.tar.bz2 | |
--- 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index e79dd8c..1a2332c 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/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"); |
