ScopInfo: Print SCEV and not the pointer to it

llvm-svn: 143004
This commit is contained in:
Tobias Grosser 2011-10-26 01:27:49 +00:00
parent 7313337c85
commit bd54f3226f
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ bool ScopDetection::isValidLoop(Loop *L, DetectionContext &Context) const {
// Is the loop count affine?
const SCEV *LoopCount = SE->getBackedgeTakenCount(L);
if (!isValidAffineFunction(LoopCount, Context.CurRegion))
INVALID(LoopBound, "Non affine loop bound '" << LoopCount << "'for loop: "
INVALID(LoopBound, "Non affine loop bound '" << *LoopCount << "' in loop: "
<< L->getHeader()->getNameStr());
return true;