Ignore:
Timestamp:
Mar 30, 2016, 4:42:52 PM (3 years ago)
Author:
nmedfort
Message:

More work on symbol table; unexpected bug with 4KiB-one page tests observed.

File:
1 edited

Legend:

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

    r4986 r4995  
    130130    for (unsigned j = 0; j < function->getNumOfResults(); ++j) {
    131131        const auto f = mMarkerMap.find(function->getResult(j));
    132         Value * result = nullptr;
    133132        if (LLVM_UNLIKELY(f == mMarkerMap.end())) {
    134             result = iBuilder->allZeroes();
    135         } else {
    136             result = f->second;
    137         }
    138         iBuilder->CreateBlockAlignedStore(result, mKernelBuilder->getOutputStream(j));
     133            throw std::runtime_error("PabloCompiler: result " + std::to_string(j) + " was not assigned a value!");
     134        }
     135        iBuilder->CreateBlockAlignedStore(f->second, mKernelBuilder->getOutputStream(j));
    139136    }
    140137
Note: See TracChangeset for help on using the changeset viewer.