Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame committed Feb 14, 2020
1 parent baeed20 commit bf96da2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/relay/pass/match_exhaustion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,14 @@ Array<Pattern> UnmatchedCases(const Match& match, const IRModule& mod) {

Array<Pattern> failures;

size_t counter = 0;
while (!candidates.empty()) {
counter++;
Pattern cand = candidates.top();
if (counter == 1000) {
CHECK(false);
}
std::cerr << AsText(cand) << std::endl;
candidates.pop();

bool failure = true;
Expand Down

0 comments on commit bf96da2

Please sign in to comment.