Ignore:
Timestamp:
Sep 14, 2015, 3:57:02 PM (4 years ago)
Author:
nmedfort
Message:

More bug-fixing work on reassociation pass.

File:
1 edited

Legend:

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

    r4767 r4770  
    4040#ifdef ENABLE_MULTIPLEXING
    4141#include <pablo/optimizers/pablo_automultiplexing.hpp>
     42#include <pablo/optimizers/pablo_bddminimization.h>
     43#include <pablo/optimizers/booleanreassociationpass.h>
    4244#endif
    4345#include <pablo/function.h>
     
    9698
    9799#ifdef ENABLE_MULTIPLEXING
    98 static cl::opt<bool> EnableMultiplexing("multiplexing", cl::init(true),
     100static cl::opt<bool> EnableMultiplexing("multiplexing", cl::init(false),
    99101    cl::desc("combine Advances whose inputs are mutual exclusive into the fewest number of advances possible (expensive)."),
    100102    cl::cat(cPabloOptimizationsOptions));
     
    241243    }
    242244#ifdef ENABLE_MULTIPLEXING
     245    pablo::BDDMinimizationPass::optimize(*function);
    243246    if (EnableMultiplexing) {
    244247        pablo::AutoMultiplexing::optimize(*function);
    245248    }
     249    pablo::BooleanReassociationPass::optimize(*function);
    246250#endif
    247251    if (PrintOptimizedREcode) {
Note: See TracChangeset for help on using the changeset viewer.