Ignore:
Timestamp:
Jan 3, 2017, 3:59:33 PM (2 years ago)
Author:
nmedfort
Message:

Work on bracket matching problem

File:
1 edited

Legend:

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

    r5238 r5245  
    484484        if (DebugOptionIsSet(DumpTrace)) {
    485485            assert (expr->getName());
    486             iBuilder->CallPrintRegister(expr->getName()->to_string(), value);
     486            if (value->getType()->isVectorTy()) {
     487                iBuilder->CallPrintRegister(expr->getName()->to_string(), value);
     488            } else if (value->getType()->isIntegerTy()) {
     489                iBuilder->CallPrintInt(expr->getName()->to_string(), value);
     490            }
    487491        }
    488492    }
Note: See TracChangeset for help on using the changeset viewer.