summaryrefslogtreecommitdiffstats
path: root/polly
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-02-26 15:55:00 +0000
committerTobias Grosser <tobias@grosser.es>2015-02-26 15:55:00 +0000
commit5e02c5f5b46bc9d14ef1f3a835cb0c91081e0e87 (patch)
tree854a0ca92c5fbca7ee7ec7170b0e5d6bb767088d /polly
parentf89bcca0b783ab1003ac8e1f1af2424c751b0361 (diff)
downloadbcm5719-llvm-5e02c5f5b46bc9d14ef1f3a835cb0c91081e0e87.tar.gz
bcm5719-llvm-5e02c5f5b46bc9d14ef1f3a835cb0c91081e0e87.zip
Update comment
Suggest-by: Johannes Doerfert llvm-svn: 230642
Diffstat (limited to 'polly')
-rw-r--r--polly/lib/CodeGen/IslAst.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index cfc86286f26..a948b020529 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -305,14 +305,8 @@ static __isl_give isl_ast_node *AtEachDomain(__isl_take isl_ast_node *Node,
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
OpenPOWER on IntegriCloud