Ignore:
Timestamp:
May 12, 2018, 9:43:08 PM (12 months ago)
Author:
xwa163
Message:

Fix some typos in DeleteByPEXTkernel

File:
1 edited

Legend:

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

    r6024 r6031  
    637637    }
    638638    std::vector<Value *> masks(mSwizzleFactor);
    639     Value * const m = kb->fwCast(mSwizzleFactor, kb->simd_not(delMask));
     639    Value * const m = kb->fwCast(mPEXTWidth, kb->simd_not(delMask));
    640640    for (unsigned i = 0; i < mSwizzleFactor; i++) {
    641         masks.push_back(kb->CreateExtractElement(m, i));
     641        masks[i] = kb->CreateExtractElement(m, i);
    642642    }
    643643
Note: See TracChangeset for help on using the changeset viewer.