[llvm-commits] [polly] r143004 - /polly/trunk/lib/Analysis/ScopDetection.cpp

Tobias Grosser grosser at fim.uni-passau.de
Tue Oct 25 18:27:49 PDT 2011


Author: grosser
Date: Tue Oct 25 20:27:49 2011
New Revision: 143004

URL: http://llvm.org/viewvc/llvm-project?rev=143004&view=rev
Log:
ScopInfo: Print SCEV and not the pointer to it

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=143004&r1=143003&r2=143004&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Oct 25 20:27:49 2011
@@ -402,7 +402,7 @@
   // 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;





More information about the llvm-commits mailing list