Ignore:
Timestamp:
Jun 2, 2015, 11:43:13 AM (4 years ago)
Author:
nmedfort
Message:

More multiplexing work.

File:
1 edited

Legend:

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

    r4576 r4586  
    499499            PHINode * phi = bEnd.CreatePHI(mBitBlockType, 2, assign->getName()->value());
    500500            auto f = mMarkerMap.find(assign);
    501             assert (f != mMarkerMap.end());
     501            if (LLVM_UNLIKELY(f == mMarkerMap.end())) {
     502                throw std::runtime_error("Fatal error during compileIf: could not find \"" + assign->getName()->to_string() + "\" in the marker map.");
     503            }
    502504            phi->addIncoming(mZeroInitializer, ifEntryBlock);
    503505            phi->addIncoming(f->second, mBasicBlock);
Note: See TracChangeset for help on using the changeset viewer.