Ignore:
Timestamp:
Aug 29, 2015, 4:50:32 PM (4 years ago)
Author:
nmedfort
Message:

Temporary check in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/optimizers/pablo_automultiplexing.cpp

    r4748 r4751  
    388388    // Map our operands to the computed BDDs
    389389    std::array<DdNode *, 3> input;
    390     unsigned count = 0;
    391     for (; count != stmt->getNumOperands(); ++count) {
    392         PabloAST * const op = stmt->getOperand(count);
     390    for (unsigned i = 0; i != stmt->getNumOperands(); ++i) {
     391        PabloAST * const op = stmt->getOperand(i);
    393392        if (LLVM_UNLIKELY(isa<Integer>(op) || isa<String>(op))) {
    394393            continue;
     
    398397            std::string tmp;
    399398            llvm::raw_string_ostream msg(tmp);
    400             msg << "Uncharacterized operand " << std::to_string(count);
     399            msg << "AutoMultiplexing: Uncharacterized operand " << std::to_string(i);
    401400            PabloPrinter::print(stmt, " of ", msg);
    402401            throw std::runtime_error(msg.str());
    403402        }
    404         input[count] = f->second;
     403        input[i] = f->second;
    405404    }
    406405
Note: See TracChangeset for help on using the changeset viewer.