Ignore:
Timestamp:
May 4, 2018, 1:44:05 PM (13 months ago)
Author:
cameron
Message:

Fix for mvmd_compress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_avx_builder.cpp

    r6011 r6012  
    312312        }
    313313        Value * compress = CreateCall(shuf32Func, {a, CreateLShr(bdcst, ConstantVector::get({Shifts, 8}))});
    314         Value * selectf = CreateBitCast(CreateSub(CreateShl(getInt32(1), field_count), getInt32(1)), v8xi1Ty);
     314        Value * selectf = CreateBitCast(CreateTrunc(CreateSub(CreateShl(getInt32(1), field_count), getInt32(1)), getInt8Ty()), v8xi1Ty);
    315315        return CreateSelect(selectf, ConstantVector::getNullValue(v8xi32Ty), compress);
    316316    }
Note: See TracChangeset for help on using the changeset viewer.