diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-06 23:41:15 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-10-06 23:41:15 -0600 |
commit | 7414769da6aaff79887b5ba53406f442df9da33f (patch) | |
tree | 949765e0a6884d25c044cc2bf6313321ada5890c /src/transformations/loop_basic.cc | |
parent | f329ee2b4cfdde656d2fe30f2a2789d8a3774203 (diff) | |
download | chill-7414769da6aaff79887b5ba53406f442df9da33f.tar.gz chill-7414769da6aaff79887b5ba53406f442df9da33f.tar.bz2 chill-7414769da6aaff79887b5ba53406f442df9da33f.zip |
further cleanup
Diffstat (limited to 'src/transformations/loop_basic.cc')
-rw-r--r-- | src/transformations/loop_basic.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/transformations/loop_basic.cc b/src/transformations/loop_basic.cc index 1afb9be..e0ebfdf 100644 --- a/src/transformations/loop_basic.cc +++ b/src/transformations/loop_basic.cc @@ -815,18 +815,12 @@ std::set<int> Loop::split(int stmt_num, int level, const Relation &cond) { new_stmt.has_inspector = stmt[*i].has_inspector; new_stmt.reduction = stmt[*i].reduction; new_stmt.reductionOp = stmt[*i].reductionOp; - stmt_nesting_level_.push_back(stmt_nesting_level_[*i]); - - if (place_after) assign_const(new_stmt.xform, dim - 1, cur_lex + 1); else assign_const(new_stmt.xform, dim - 1, cur_lex - 1); - - fprintf(stderr, "loop_basic.cc L828 adding stmt %d\n", stmt.size()); stmt.push_back(new_stmt); - uninterpreted_symbols.push_back(uninterpreted_symbols[stmt_num]); uninterpreted_symbols_stringrepr.push_back(uninterpreted_symbols_stringrepr[stmt_num]); dep.insert(); @@ -1425,7 +1419,7 @@ void Loop::fuse(const std::set<int> &stmt_nums, int level) { void Loop::distribute(const std::set<int> &stmt_nums, int level) { if (stmt_nums.size() == 0 || stmt_nums.size() == 1) return; - fprintf(stderr, "Loop::distribute()\n"); + CHILL_DEBUG_PRINT("Loop::distribute()\n"); // invalidate saved codegen computation |