Ignore:
Timestamp:
Jul 20, 2015, 3:43:57 PM (4 years ago)
Author:
nmedfort
Message:

Added optional CMake command -DDISABLE_PREGENERATED_UCD_FUNCTIONS.

File:
1 edited

Legend:

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

    r4680 r4686  
    109109    AutoMultiplexing am;
    110110    RECORD_TIMESTAMP(start_initialize);
    111     const bool fewerThanThreeAdvances = am.initialize(function);
     111    const bool abort = am.initialize(function);
    112112    RECORD_TIMESTAMP(end_initialize);
    113113
     
    116116    LOG_NUMBER_OF_ADVANCES(function.getEntryBlock());
    117117
    118     if (fewerThanThreeAdvances) {
     118    if (abort) {
    119119        return false;
    120120    }
     
    217217
    218218    // If there are fewer than three Advances in this program, just abort. We cannot reduce it.
    219     if (mAdvanceMap.size() < 3) {
     219    if (m < 3) {
    220220        return true;
    221221    }
Note: See TracChangeset for help on using the changeset viewer.