Ignore:
Timestamp:
May 22, 2017, 12:14:19 PM (2 years ago)
Author:
nmedfort
Message:

Restructuring work for the Driver classes. Start of work to eliminate the memory leaks with the ExecutionEngine?. Replaced custom AlignedMalloc? with backend call to std::aligned_malloc. Salvaged some work on DistributionPass? for reevaluation.

File:
1 edited

Legend:

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

    r5440 r5464  
    222222        iBuilder->CreateMemCpy(newArray, array, capacitySize, BlockWidth);
    223223        iBuilder->CreateMemZero(iBuilder->CreateGEP(newArray, capacitySize), capacitySize, BlockWidth);
    224         iBuilder->CreateAlignedFree(array);
     224        iBuilder->CreateFree(array);
    225225        newArray = iBuilder->CreatePointerCast(newArray, array->getType());
    226226        iBuilder->CreateStore(newArray, arrayPtr);
     
    235235        iBuilder->CreateMemCpy(newSummary, summary, summarySize, BlockWidth);
    236236        iBuilder->CreateMemZero(iBuilder->CreateGEP(newSummary, summarySize), iBuilder->getSize(2 * BlockWidth), BlockWidth);
    237         iBuilder->CreateAlignedFree(summary);
     237        iBuilder->CreateFree(summary);
    238238
    239239        Value * ptr1 = iBuilder->CreateGEP(newSummary, summarySize);
Note: See TracChangeset for help on using the changeset viewer.