Ignore:
Timestamp:
Apr 10, 2017, 4:34:41 PM (2 years ago)
Author:
nmedfort
Message:

Moved toolchain and object_cache to kernels directory. Continued work on providing input consumed information.

File:
1 edited

Legend:

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

    r5398 r5402  
    1111#include <llvm/IR/TypeBuilder.h>
    1212#include <llvm/IR/MDBuilder.h>
     13#include <llvm/Support/raw_ostream.h>
     14#include <kernels/toolchain.h>
    1315#include <fcntl.h>
    1416#include <unistd.h>
    1517#include <sys/mman.h>
    16 #include <toolchain.h>
    1718#include <errno.h>
    18 #include <llvm/Support/raw_ostream.h>
    19 
    2019
    2120using namespace llvm;
     
    402401        pthreadCreateFunc->setCallingConv(CallingConv::C);
    403402    }
    404     return CreateCall(pthreadCreateFunc, {thread, attr, start_routine, arg});
     403    return CreateCall(pthreadCreateFunc, {thread, attr, start_routine, CreatePointerCast(arg, getVoidPtrTy())});
    405404}
    406405
Note: See TracChangeset for help on using the changeset viewer.