File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -150,18 +150,8 @@ IndexStmt Reorder::apply(IndexStmt stmt, string* reason) const {
150
150
}
151
151
}
152
152
};
153
-
154
- cout << " original statement: " << originalStmt << endl;
155
153
ReorderVisitor reorderVisitor (content->path );
156
154
157
- auto p = getpath ();
158
- cout << " path: " << util::join (p) << endl;
159
- if (p.size () > 0 ) {
160
- originalStmt.accept (&reorderVisitor);
161
- cout << " reordering statment: " << reorderVisitor.innerStmt << endl;
162
- stmt = reorderVisitor.innerStmt ;
163
- }
164
-
165
155
// collect current ordering of IndexVars
166
156
bool startedMatch = false ;
167
157
std::vector<IndexVar> currentOrdering;
@@ -179,7 +169,6 @@ IndexStmt Reorder::apply(IndexStmt stmt, string* reason) const {
179
169
}
180
170
})
181
171
);
182
- cout << " currentOrdering: " << util::join (currentOrdering) << endl;
183
172
184
173
if (!content->pattern_ordered && currentOrdering == getreplacepattern ()) {
185
174
taco_iassert (getreplacepattern ().size () == 2 );
@@ -191,10 +180,8 @@ IndexStmt Reorder::apply(IndexStmt stmt, string* reason) const {
191
180
return IndexStmt ();
192
181
}
193
182
194
- cout << " replacePattern: " << util::join (getreplacepattern ()) << endl;
195
183
auto reorderedStmt = ForAllReplace (currentOrdering, getreplacepattern ()).apply (stmt, reason);
196
184
197
-
198
185
struct ReorderedRewriter : public IndexNotationRewriter {
199
186
using IndexNotationRewriter::visit;
200
187
You can’t perform that action at this time.
0 commit comments