Ignore:
Timestamp:
Oct 16, 2015, 7:54:25 PM (4 years ago)
Author:
cameron
Message:

Parameterize PabloCompiler? on bitBlockType

File:
1 edited

Legend:

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

    r4826 r4839  
    1414#include "pablo/pablo_compiler.h"
    1515#include <llvm/IR/Function.h>
     16#include <llvm/IR/Type.h>
    1617#include <llvm/IR/Module.h>
    1718#include <llvm/ExecutionEngine/ExecutionEngine.h>
     
    157158
    158159        pablo_function_passes(function);
    159         pablo::PabloCompiler pablo_compiler;
     160        pablo::PabloCompiler pablo_compiler(VectorType::get(IntegerType::get(getGlobalContext(), 64), BLOCK_SIZE/64));
    160161        try {
    161162            icgrep_IR = pablo_compiler.compile(function);
Note: See TracChangeset for help on using the changeset viewer.