Ignore:
Timestamp:
Mar 24, 2017, 4:01:22 PM (3 years ago)
Author:
nmedfort
Message:

Bug fix for long advance

File:
1 edited

Legend:

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

    r5368 r5371  
    3535
    3636
    37 Phi * PabloBlock::createPhi(Type * type, String * name) {
    38     if (type == nullptr) {
    39         type = getParent()->getBuilder()->getStreamTy();
    40     }
    41     if (name == nullptr) {
    42         name = makeName("phi");
    43     }
    44     return insertAtInsertionPoint(new (mAllocator) Phi(type, 2, name, mAllocator));
     37Phi * PabloBlock::createPhi(Type * type) {
     38    return new (mAllocator) Phi(type, mAllocator);
    4539}
    4640
Note: See TracChangeset for help on using the changeset viewer.