Ignore:
Timestamp:
Feb 23, 2017, 12:58:47 PM (3 years ago)
Author:
cameron
Message:

fix for inFile

File:
1 edited

Legend:

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

    r5340 r5342  
    477477        } else if (const InFile * e = dyn_cast<InFile>(stmt)) {
    478478            Value * EOFmask = mKernel->getScalarField("EOFmask");
    479             value = iBuilder->simd_xor(compileExpression(e->getExpr()), EOFmask);
     479            value = iBuilder->simd_and(compileExpression(e->getExpr()), iBuilder->simd_not(EOFmask));
    480480        } else if (const AtEOF * e = dyn_cast<AtEOF>(stmt)) {
    481481            Value * EOFbit = mKernel->getScalarField("EOFbit");
Note: See TracChangeset for help on using the changeset viewer.