forked from OSchip/llvm-project
parent
5fc4160ea3
commit
837ada7692
|
@ -650,7 +650,12 @@ ConstantRange::lshr(const ConstantRange &Amount) const {
|
|||
/// print - Print out the bounds to a stream...
|
||||
///
|
||||
void ConstantRange::print(raw_ostream &OS) const {
|
||||
OS << "[" << Lower << "," << Upper << ")";
|
||||
if (isFullSet())
|
||||
OS << "full-set";
|
||||
else if (isEmptySet())
|
||||
OS << "empty-set";
|
||||
else
|
||||
OS << "[" << Lower << "," << Upper << ")";
|
||||
}
|
||||
|
||||
/// dump - Allow printing from a debugger easily...
|
||||
|
|
Loading…
Reference in New Issue