Ignore:
Timestamp:
Aug 11, 2014, 1:58:24 PM (5 years ago)
Author:
daled
Message:

Minor changes.

File:
1 edited

Legend:

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

    r3984 r3991  
    66
    77#include "llvm_gen.h"
    8 #include "printer_pablos.h"
    98
    109Ps* ps = NULL; Nl* nl = NULL; No* no = NULL; Lo* lo = NULL; Ll* ll = NULL; Lm* lm = NULL; Nd* nd = NULL;
     
    441440
    442441    fpm.add(createBasicAliasAnalysisPass());      //Provide basic AliasAnalysis support for GVN. (Global Value Numbering)
     442    fpm.add(createCFGSimplificationPass());       //Simplify the control flow graph.
    443443    fpm.add(createInstructionCombiningPass());    //Simple peephole optimizations and bit-twiddling.
    444     fpm.add(createCFGSimplificationPass());       //Simplify the control flow graph (deleting unreachable blocks, etc).
    445444    fpm.add(createReassociatePass());             //Reassociate expressions.
    446445    fpm.add(createGVNPass());                     //Eliminate common subexpressions.
     
    527526    //This function can be used for testing to print the contents of a register from JIT'd code to the terminal window.
    528527    //mFunc_print_register = mMod->getOrInsertFunction("wrapped_print_register", Type::getVoidTy(getGlobalContext()), m64x2Vect, NULL);
    529 
    530528    //mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_print_register), (void *)&wrapped_print_register);
    531529    // to call->  b.CreateCall(mFunc_print_register, unicode_category);
Note: See TracChangeset for help on using the changeset viewer.