Ignore:
Timestamp:
Jun 6, 2017, 6:20:55 PM (2 years ago)
Author:
cameron
Message:

Restore check-ins from the last several days

File:
1 edited

Legend:

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

    r5451 r5493  
    7979    PHINode * blockGroupBase = kb->CreatePHI(kb->getSizeTy(), 2);
    8080    blockGroupBase->addIncoming(kb->getSize(0), entry);
    81     Value * groupPackPtr = kb->CreatePointerCast(kb->CreateGEP(sourceBitstream, {blockGroupBase}), iPackPtrTy);
     81    Value * groupPackPtr = kb->CreatePointerCast(kb->CreateGEP(sourceBitstream, blockGroupBase), iPackPtrTy);
    8282    Value * blockGroupLimit = kb->CreateAdd(blockGroupBase, blocksPerGroup);
    8383    blockGroupLimit = kb->CreateSelect(kb->CreateICmpULT(blockGroupLimit, blocksToDo), blockGroupLimit, blocksToDo);
     
    114114    seenSoFarPhi->addIncoming(seenSoFar, doScan);
    115115    Value * nonZeroPack = kb->CreateZExtOrTrunc(kb->CreateCountForwardZeroes(groupMaskPhi), kb->getSizeTy());
    116     Value * scanMask = kb->CreateLoad(kb->CreateGEP(groupPackPtr, {nonZeroPack}));
     116    Value * scanMask = kb->CreateLoad(kb->CreateGEP(groupPackPtr, nonZeroPack));
    117117    Value * packCount = kb->CreateZExtOrTrunc(kb->CreatePopcount(scanMask), kb->getSizeTy());
    118118    Value * newTotalSeen = kb->CreateAdd(packCount, seenSoFarPhi);
Note: See TracChangeset for help on using the changeset viewer.