[polly] r230642 - Update comment

Tobias Grosser tobias at grosser.es
Thu Feb 26 07:55:00 PST 2015


Author: grosser
Date: Thu Feb 26 09:55:00 2015
New Revision: 230642

URL: http://llvm.org/viewvc/llvm-project?rev=230642&view=rev
Log:
Update comment

Suggest-by: Johannes Doerfert

Modified:
    polly/trunk/lib/CodeGen/IslAst.cpp

Modified: polly/trunk/lib/CodeGen/IslAst.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/IslAst.cpp?rev=230642&r1=230641&r2=230642&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/IslAst.cpp (original)
+++ polly/trunk/lib/CodeGen/IslAst.cpp Thu Feb 26 09:55:00 2015
@@ -305,14 +305,8 @@ static __isl_give isl_ast_node *AtEachDo
 
 void IslAst::buildRunCondition(__isl_keep isl_ast_build *Build) {
   // The conditions that need to be checked at run-time for this scop are
-  // available as an isl_set in the AssumedContext. We generate code for this
-  // check as follows. First, we generate an isl_pw_aff that is 1, if a certain
-  // combination of parameter values fulfills the conditions in the assumed
-  // context, and that is 0 otherwise. We then translate this isl_pw_aff into
-  // an isl_ast_expr. At run-time this expression can be evaluated and the
-  // optimized scop can be executed conditionally according to the result of the
-  // run-time check.
-
+  // available as an isl_set in the AssumedContext from which we can directly
+  // derive a run-time condition.
   RunCondition = isl_ast_build_expr_from_set(Build, S->getAssumedContext());
 
   // Create the alias checks from the minimal/maximal accesses in each alias





More information about the llvm-commits mailing list