[polly] r177642 - TempScop: Make assert more descriptive

Tobias Grosser grosser at fim.uni-passau.de
Thu Mar 21 09:14:45 PDT 2013


Author: grosser
Date: Thu Mar 21 11:14:45 2013
New Revision: 177642

URL: http://llvm.org/viewvc/llvm-project?rev=177642&view=rev
Log:
TempScop: Make assert more descriptive

Modified:
    polly/trunk/include/polly/TempScopInfo.h

Modified: polly/trunk/include/polly/TempScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/TempScopInfo.h?rev=177642&r1=177641&r2=177642&view=diff
==============================================================================
--- polly/trunk/include/polly/TempScopInfo.h (original)
+++ polly/trunk/include/polly/TempScopInfo.h Thu Mar 21 11:14:45 2013
@@ -155,7 +155,7 @@ public:
   ///
   const SCEV *getLoopBound(const Loop *L) const {
     LoopBoundMapType::const_iterator at = LoopBounds.find(L);
-    assert(at != LoopBounds.end() && "Only valid loop is allow!");
+    assert(at != LoopBounds.end() && "Bound for loop not available!");
     return at->second;
   }
 





More information about the llvm-commits mailing list