Ignore:
Timestamp:
Aug 26, 2015, 1:41:38 PM (4 years ago)
Author:
cameron
Message:

Clean ups for compilation with gcc 4.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IDISA/idisa_builder.cpp

    r4720 r4750  
    9696Value * IDISA_Builder::simd_cttz(unsigned fw, Value * a) {
    9797    Value * cttzFunc = Intrinsic::getDeclaration(mMod, Intrinsic::cttz, fwVectorType(fw));
    98     Value * rslt = mLLVMBuilder->CreateCall(cttzFunc, {fwCast(fw, a), ConstantInt::get(mLLVMBuilder->getInt1Ty(), 0)});
     98    Value * rslt = mLLVMBuilder->CreateCall(cttzFunc, std::vector<Value *>({fwCast(fw, a), ConstantInt::get(mLLVMBuilder->getInt1Ty(), 0)}));
    9999    return bitBlockCast(rslt);
    100100}
     
    102102Value * IDISA_Builder::simd_popcount(unsigned fw, Value * a) {
    103103    Value * ctpopFunc = Intrinsic::getDeclaration(mMod, Intrinsic::ctpop, fwVectorType(fw));
    104     Value * rslt = mLLVMBuilder->CreateCall(ctpopFunc, {fwCast(fw, a)});
     104    Value * rslt = mLLVMBuilder->CreateCall(ctpopFunc, std::vector<Value *>({fwCast(fw, a)}));
    105105    return bitBlockCast(rslt);
    106106}
Note: See TracChangeset for help on using the changeset viewer.