Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

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

    r5436 r5440  
    339339   
    340340    Kernel * outK = pxDriver.addKernelInstance(make_unique<FileSink>(iBuilder, 16));
    341     Value * fName = iBuilder->CreatePointerCast(iBuilder->CreateGlobalString(outputFile.c_str()), iBuilder->getInt8PtrTy());
     341    Value * fName = iBuilder->CreatePointerCast(iBuilder->GetString(outputFile.c_str()), iBuilder->getInt8PtrTy());
    342342    outK->setInitialArguments({fName});
    343343       
     
    412412   
    413413    Kernel * outK = pxDriver.addKernelInstance(make_unique<FileSink>(iBuilder, 16));
    414     Value * fName = iBuilder->CreatePointerCast(iBuilder->CreateGlobalString(outputFile.c_str()), iBuilder->getInt8PtrTy());
     414    Value * fName = iBuilder->CreatePointerCast(iBuilder->GetString(outputFile.c_str()), iBuilder->getInt8PtrTy());
    415415    outK->setInitialArguments({fName});
    416416   
Note: See TracChangeset for help on using the changeset viewer.