diff options
| author | Philip Reames <listmail@philipreames.com> | 2016-02-02 22:43:08 +0000 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2016-02-02 22:43:08 +0000 |
| commit | b7571043f2267cbc9971955c2bd3eac724c2e062 (patch) | |
| tree | 97596dbc139445ed230769ce75694ccaf3ead71c | |
| parent | e34c8e8f8aff18de3c9efe57c94b431e7cc31844 (diff) | |
| download | bcm5719-llvm-b7571043f2267cbc9971955c2bd3eac724c2e062.tar.gz bcm5719-llvm-b7571043f2267cbc9971955c2bd3eac724c2e062.zip | |
[LVI] Fix debug output
Due to staleness in a patch I committed yesterday, the debug output was reporting overdefined cases as being undefined. Confusing to say the least. The mistake appears to have only effected the debug output thankfully.
llvm-svn: 259594
| -rw-r--r-- | llvm/lib/Analysis/LazyValueInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp index 3d2006415fe..76c825f6bab 100644 --- a/llvm/lib/Analysis/LazyValueInfo.cpp +++ b/llvm/lib/Analysis/LazyValueInfo.cpp @@ -576,7 +576,7 @@ void LazyValueInfoCache::solve() { "Result should be in cache!"); DEBUG(dbgs() << "POP " << *e.second << " in " << e.first->getName() - << " = " << lookup(e.second)[e.first] << "\n"); + << " = " << getCachedValueInfo(e.second, e.first) << "\n"); BlockValueStack.pop(); BlockValueSet.erase(e); @@ -790,7 +790,7 @@ bool LazyValueInfoCache::solveBlockValueNonLocal(LVILatticeVal &BBLV, // to overdefined. if (Result.isOverdefined()) { DEBUG(dbgs() << " compute BB '" << BB->getName() - << "' - overdefined because of pred.\n"); + << "' - overdefined because of pred (non local).\n"); // If we previously determined that this is a pointer that can't be null // then return that rather than giving up entirely. if (NotNull) { @@ -835,7 +835,7 @@ bool LazyValueInfoCache::solveBlockValuePHINode(LVILatticeVal &BBLV, // to overdefined. if (Result.isOverdefined()) { DEBUG(dbgs() << " compute BB '" << BB->getName() - << "' - overdefined because of pred.\n"); + << "' - overdefined because of pred (local).\n"); BBLV = Result; return true; |

