Ignore:
Timestamp:
Dec 15, 2018, 3:43:59 PM (4 months ago)
Author:
nmedfort
Message:

Re-enabled segment pipeline parallelism; moved logical segment number into pipeline kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/CBuilder.cpp

    r6233 r6237  
    351351    }
    352352    size = CreateZExtOrTrunc(size, sizeTy);
     353    if (LLVM_UNLIKELY(codegen::DebugOptionIsSet(codegen::EnableAsserts))) {
     354        CreateAssert(size, "CreateMalloc: 0-byte malloc is implementation defined");
     355    }
    353356    CallInst * const ptr = CreateCall(f, size);
    354357    if (LLVM_UNLIKELY(codegen::DebugOptionIsSet(codegen::EnableAsserts))) {
     
    377380    size = CreateZExtOrTrunc(size, sizeTy);
    378381    if (LLVM_UNLIKELY(codegen::DebugOptionIsSet(codegen::EnableAsserts))) {
     382        CreateAssert(size, "CreateAlignedMalloc: 0-byte malloc is implementation defined");
    379383        CreateAssertZero(CreateURem(size, align), "CreateAlignedMalloc: size must be an integral multiple of alignment.");
    380384    }
Note: See TracChangeset for help on using the changeset viewer.