Ignore:
Timestamp:
Dec 16, 2016, 4:16:28 PM (3 years ago)
Author:
nmedfort
Message:

Rewrite of the CarryManager? to support non-carry-collapsing loops.

File:
1 edited

Legend:

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

    r5202 r5227  
    160160        return;
    161161    }     
     162    if (LLVM_UNLIKELY(prior->getType() != value->getType())) {
     163        std::string tmp;
     164        raw_string_ostream out(tmp);
     165        out << "Type mismatch replacing operand ";
     166        prior->print(out);
     167        out << " with ";
     168        value->print(out);
     169        out << " in statement ";
     170        this->print(out);
     171        llvm::report_fatal_error(out.str());
     172    }
    162173    prior->removeUser(this);
    163174    mOperand[index] = value;
Note: See TracChangeset for help on using the changeset viewer.