Ignore:
Timestamp:
Dec 9, 2017, 5:05:16 PM (19 months ago)
Author:
nmedfort
Message:

Minor changes and hopefully a fix for bug exposed by base64 test

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

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

    r5733 r5771  
    429429        b->SetInsertPoint(resume);
    430430
    431         if (codegen::DebugOptionIsSet(codegen::EnableAsserts)) {
    432             b->CreateAssertZero(b->CreateOr(finalBorrow, finalCarry),
    433                                        "CarryManager: loop post-condition violated: final borrow and carry must be zero!");
    434         }
     431        b->CreateAssertZero(b->CreateOr(finalBorrow, finalCarry),
     432                                   "CarryManager: loop post-condition violated: final borrow and carry must be zero!");
    435433
    436434        assert (!mLoopIndicies.empty());
  • icGREP/icgrep-devel/icgrep/pablo/carrypack_manager.cpp

    r5733 r5771  
    452452        iBuilder->SetInsertPoint(resume);
    453453
    454         if (codegen::DebugOptionIsSet(codegen::EnableAsserts)) {
    455             iBuilder->CreateAssertZero(iBuilder->CreateOr(finalBorrow, finalCarry),
    456                                        "CarryPackManager: loop post-condition violated: final borrow and carry must be zero!");
    457         }
     454        iBuilder->CreateAssertZero(iBuilder->CreateOr(finalBorrow, finalCarry),
     455                                   "CarryPackManager: loop post-condition violated: final borrow and carry must be zero!");
    458456
    459457        assert (!mLoopIndicies.empty());
Note: See TracChangeset for help on using the changeset viewer.