Ignore:
Timestamp:
Nov 11, 2017, 9:46:13 PM (19 months ago)
Author:
cameron
Message:

Changes for compatibility with LLVM 5.0.0

File:
1 edited

Legend:

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

    r5721 r5733  
    10351035        if (LLVM_UNLIKELY(nonCarryCollapsingMode)) {
    10361036            mHasNonCarryCollapsingLoops = true;
    1037             carryState = StructType::get(b->getSizeTy(), carryState->getPointerTo(), carryTy->getPointerTo(), nullptr);
     1037            carryState = StructType::get(b->getContext(), {b->getSizeTy(), carryState->getPointerTo(), carryTy->getPointerTo()});
    10381038            assert (isDynamicallyAllocatedType(carryState));
    10391039        }
Note: See TracChangeset for help on using the changeset viewer.