Ignore:
Timestamp:
Jun 20, 2015, 3:52:41 PM (4 years ago)
Author:
nmedfort
Message:

Temporary check-in

File:
1 edited

Legend:

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

    r4602 r4611  
    170170    inline Type * insertAtInsertionPoint(Type * expr) {
    171171        if (isa<Statement>(expr)) {
     172            if (LLVM_UNLIKELY(isa<If>(expr) || isa<While>(expr))) {
     173                PabloBlock & body = isa<If>(expr) ? cast<If>(expr)->getBody() : cast<While>(expr)->getBody();
     174                this->addUser(&body);
     175            }
    172176            insert(cast<Statement>(expr));
    173177        }
Note: See TracChangeset for help on using the changeset viewer.