diff --git a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp index cae0b3a2dcbd5ad3a0ff6dfdaf99dc2b3eaefbf0..70a8671e768b6697385c094940306f4545e19867 100644 --- a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp +++ b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp @@ -1491,7 +1491,7 @@ void GenVISC::genHost(CallInst* CI, Function* KernelF, unsigned levels, unsigned switchToTimer(visc_TimerID_ARG_PACK, CI); // Insert alloca inst for this argument struct type - AllocaInst* AI = new AllocaInst(ArgStructTy, "in.addr", CI); + AllocaInst* AI = new AllocaInst(ArgStructTy, 0, "in.addr", CI); // Marshall all input arguments and dimension arguments into argument struct // type