Ignore:
Timestamp:
Dec 22, 2016, 2:35:46 PM (3 years ago)
Author:
nmedfort
Message:

Modified memory alignment mechanism for GetPropertyValueGrepString? + misc. changes.

File:
1 edited

Legend:

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

    r5227 r5234  
    284284#ifdef ENABLE_BOUNDED_WHILE
    285285    if (whileStatement->getBound()) {
    286         Value * new_bound = iBuilder->CreateSub(bound_phi, ConstantInt::get(iBuilder->getSizeTy(), 1));
     286        Value * new_bound = iBuilder->CreateSub(bound_phi, iBuilder->getSize(1));
    287287        bound_phi->addIncoming(new_bound, whileExitBlock);
    288288        condition = iBuilder->CreateAnd(condition, iBuilder->CreateICmpUGT(new_bound, ConstantInt::getNullValue(iBuilder->getSizeTy())));
Note: See TracChangeset for help on using the changeset viewer.