diff options
Diffstat (limited to 'llvm/lib/Analysis/MemoryLocation.cpp')
-rw-r--r-- | llvm/lib/Analysis/MemoryLocation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryLocation.cpp b/llvm/lib/Analysis/MemoryLocation.cpp index df863d6..3cd4b44 100644 --- a/llvm/lib/Analysis/MemoryLocation.cpp +++ b/llvm/lib/Analysis/MemoryLocation.cpp @@ -26,8 +26,10 @@ void LocationSize::print(raw_ostream &OS) const { OS << "mapEmpty"; else if (*this == mapTombstone()) OS << "mapTombstone"; - else + else if (isPrecise()) OS << "precise(" << getValue() << ')'; + else + OS << "upperBound(" << getValue() << ')'; } MemoryLocation MemoryLocation::get(const LoadInst *LI) { |