Displaying 1 result from an estimated 1 matches for "builderwait".
2013 Aug 22
2
[LLVMdev] Crash in CreateShl() method
Hi All,
AllocaInst * AI = builder.CreateAlloca(type, 0, BBName);
StoreInst* ST= builderTF.CreateStore(ConstantInt::get(type,1),AI);
Value * Vresult = (Value*)ST;
Vresult = builderWait.CreateShl(Vresult, 1);
I need to make one bit shift left to the variable stored in the second step
I've got crash in this step
opt: /home/xx/llvm2/llvm/include/llvm/Support/Casting.h:237: typename
enable_if<is_same<Y, typename simplify_type<Y>::SimpleType>, typename
cast_retty...