Ignore:
Timestamp:
Jun 3, 2015, 12:06:07 PM (4 years ago)
Author:
nmedfort
Message:

More multiplexing work; close to passing make check.

File:
1 edited

Legend:

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

    r4588 r4590  
    6363                                      cl::cat(cPabloOptimizationsOptions));
    6464#ifdef ENABLE_MULTIPLEXING
    65 static cl::opt<bool> PabloMutualExclusionPass("mutual-exclusion", cl::init(false),
    66                                       cl::desc("Multiplex Advances whose inputs are mutual exclusive and eliminate any stream that is produces Zero."),
     65static cl::opt<bool> PabloMutualExclusionPass("mutual-exclusion", cl::init(true),
     66                                      cl::desc("Multiplex Advances whose inputs are mutual exclusive and replaces any contradictory stream with Zero."),
    6767                                      cl::cat(cPabloOptimizationsOptions));
    6868#endif
     
    168168        CodeSinking::optimize(main);
    169169    }
     170
    170171    #ifdef ENABLE_MULTIPLEXING
    171172    if (PabloMutualExclusionPass) {
     173        if (PrintCompiledREcode) {
     174            //Print to the terminal the AST that was generated by the pararallel bit-stream compiler.
     175            llvm::raw_os_ostream cerr(std::cerr);
     176            cerr << "Pre-Multiplexing Pablo AST:\n";
     177            PabloPrinter::print(main.statements(), cerr);
     178        }
    172179        AutoMultiplexing::optimize(basisBits, main);
    173180    }
Note: See TracChangeset for help on using the changeset viewer.