Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

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

    r5194 r5202  
    119119    Type * sharedStructType = StructType::get(m->getContext(), structTypes);
    120120
    121     AllocaInst * sharedStruct;
    122     sharedStruct = iBuilder->CreateAlloca(sharedStructType);
     121    AllocaInst * sharedStruct = iBuilder->CreateAlloca(sharedStructType);
    123122    Value * sizePtr = iBuilder->CreateGEP(sharedStruct, {iBuilder->getInt32(0), iBuilder->getInt32(0)});
    124123    iBuilder->CreateStore(fileSize, sizePtr);
Note: See TracChangeset for help on using the changeset viewer.