Ignore:
Timestamp:
Nov 12, 2015, 4:26:25 PM (4 years ago)
Author:
nmedfort
Message:

Work on bug fixes for multiplexing pass.

File:
1 edited

Legend:

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

    r4861 r4868  
    258258    if (isa<Zeroes>(expr2) || isa<Ones>(expr1)) {
    259259        return renameNonNamedNode(expr2, std::move(prefix));
    260     } else if (isa<Zeroes>(expr1) || isa<Ones>(expr2) || equals(expr1, expr2)){
     260    }
     261    else if (isa<Zeroes>(expr1) || isa<Ones>(expr2) || equals(expr1, expr2)){
    261262        return renameNonNamedNode(expr1, std::move(prefix));
    262263    } else if (Not * not1 = dyn_cast<Not>(expr1)) {
     
    337338    if (isa<Zeroes>(expr1) || isa<Ones>(expr2)){
    338339        return renameNonNamedNode(expr2, std::move(prefix));
    339     } else if (isa<Zeroes>(expr2) || isa<Ones>(expr1) || equals(expr1, expr2)) {
     340    }
     341    else if (isa<Zeroes>(expr2) || isa<Ones>(expr1) || equals(expr1, expr2)) {
    340342        return renameNonNamedNode(expr1, std::move(prefix));
    341343    } else if (Not * not1 = dyn_cast<Not>(expr1)) {
     
    453455PabloAST * PabloBlock::createSel(PabloAST * condition, PabloAST * trueExpr, PabloAST * falseExpr, const std::string prefix) {
    454456    assert (condition && trueExpr && falseExpr);
    455 
    456457    if (isa<Zeroes>(condition)){
    457458        return renameNonNamedNode(falseExpr, std::move(prefix));
     
    526527    return nextScopeIndex;
    527528}   
    528            
    529    
    530        
    531529   
    532530/// CONSTRUCTOR
Note: See TracChangeset for help on using the changeset viewer.