Ignore:
Timestamp:
Dec 17, 2015, 4:45:18 PM (3 years ago)
Author:
nmedfort
Message:

Work on coalescing algorithm + minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/passes/factorizedfg.cpp

    r4890 r4896  
    5151            finalize(isa<If>(stmt) ? cast<If>(stmt)->getBody() : cast<While>(stmt)->getBody());
    5252        } else if ((isa<And>(stmt) || isa<Or>(stmt) || isa<Xor>(stmt)) && (stmt->getNumOperands() > 2)) {
     53            // We should maintain an ordering list and sort each Variadic according to it prior to writing them out.
    5354            stmt = finalize(cast<Variadic>(stmt), block);
    5455            continue;
     
    7374        PabloAST * const op = var->getOperand(i);
    7475        VertexSet B;
    75         B.reserve(op->getNumUsers());
     76        B.reserve(op->getNumUses());
    7677        for (PabloAST * user : op->users()) {
    7778            if (user->getClassTypeId() == typeId) {
Note: See TracChangeset for help on using the changeset viewer.