Ignore:
Timestamp:
Oct 6, 2015, 8:43:55 PM (4 years ago)
Author:
cameron
Message:

Reset carries for each file

File:
1 edited

Legend:

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

    r4824 r4826  
    5454    f->setAttributes(AttrSet);
    5555    llvm::IRBuilderBase::InsertPoint ip = mBuilder->saveIP();
    56     mBuilder->SetInsertPoint(BasicBlock::Create(m->getContext(), "entry", f,0));
    57     mBuilder->CreateMemSet(mCarryBitBlockPtr, mBuilder->getInt8(0), mTotalCarryDataBitBlocks * BLOCK_SIZE, BLOCK_SIZE/8);
     56    mBuilder->SetInsertPoint(BasicBlock::Create(m->getContext(), "entry1", f,0));
     57    mBuilder->CreateMemSet(mCarryBitBlockPtr, mBuilder->getInt8(0), mTotalCarryDataBitBlocks * BLOCK_SIZE/8, 4);
    5858    ReturnInst::Create(m->getContext(), mBuilder->GetInsertBlock());
    5959    mBuilder->restoreIP(ip);
Note: See TracChangeset for help on using the changeset viewer.