Changeset 5912 for icGREP/icgrep-devel


Ignore:
Timestamp:
Mar 15, 2018, 1:10:44 PM (12 months ago)
Author:
cameron
Message:

Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_analysis.cpp

    r5910 r5912  
    485485    if (Seq * seq = dyn_cast<Seq>(r)) {
    486486        if (seq->size() < 4) return false;
     487        if (!isa<CC>(*seq->begin())) return false;
     488        if (!isa<CC>(*seq->begin()+1)) return false;
     489        if (!isa<CC>(*seq->begin()+2)) return false;
    487490        prefixRE = makeSeq(seq->begin(), seq->begin()+3);
    488491        if (byteTestsWithinLimit(prefixRE, byteCClimit)) {
    489492            suffixRE = makeSeq(seq->begin()+3, seq->end());
     493            errs() << "prefixRE: " << Printer_RE::PrintRE(prefixRE) << "\n";
     494            errs() << "suffixRE: " << Printer_RE::PrintRE(suffixRE) << "\n";
    490495            return true;
    491496        }
Note: See TracChangeset for help on using the changeset viewer.