Ignore:
Timestamp:
Feb 10, 2017, 3:55:14 PM (2 years ago)
Author:
nmedfort
Message:

Removed BlockNo? + updated LookAhead? to use getInputStream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.cpp

    r5297 r5311  
    4747    const unsigned fieldCount = iBuilder->getBitBlockWidth() / T->getBitWidth();
    4848    Type * scanwordVectorType =  VectorType::get(T, fieldCount);
    49     Value * blockNo = getBlockNo();
     49    Value * blockNo = getScalarField("BlockNo");
    5050    Value * scanwordPos = iBuilder->CreateMul(blockNo, ConstantInt::get(blockNo->getType(), iBuilder->getBitBlockWidth()));   
    5151    Value * recordStart = getScalarField("LineStart");
     
    6565    setScalarField("LineStart", recordStart);
    6666    setScalarField("LineNum", recordNum);
     67    setScalarField("BlockNo", iBuilder->CreateAdd(blockNo, iBuilder->getSize(1)));
    6768}
    6869
Note: See TracChangeset for help on using the changeset viewer.