Ignore:
Timestamp:
Jun 21, 2016, 7:28:38 AM (3 years ago)
Author:
cameron
Message:

LLVM type error fix

File:
1 edited

Legend:

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

    r5063 r5065  
    182182    Type * const voidTy = Type::getVoidTy(mMod->getContext());
    183183    record_counts_routine = mMod->getOrInsertFunction("record_counts", voidTy, int64ty, int64ty, int64ty, int64ty, int64ty, nullptr);
    184     Type * const inputType = PointerType::get(ArrayType::get(StructType::get(mMod->getContext(), std::vector<Type *>({ArrayType::get(mBitBlockType, 8)})), 1), 0);
     184    Type * const inputType = PointerType::get(ArrayType::get(ArrayType::get(mBitBlockType, 8), 1), 0);
    185185   
    186186    Function * const main = cast<Function>(mMod->getOrInsertFunction("Main", voidTy, inputType, int64ty, int64ty, nullptr));
Note: See TracChangeset for help on using the changeset viewer.