Displaying 1 result from an estimated 1 matches for "alloca_inst".
2017 Jun 10
2
Instruction does not dominate all uses!
...mcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast ([3 x i32]*
@bar.var to i8*), i64 12, i32 4, i1 false)
%arrayidx = getelementptr inbounds [3 x i32], [3 x i32]* %var, i64 0, i64
0
%1 = load i32, i32* %arrayidx, align 4
ret i32 %1
}
=====================================================
if (AllocaInst *alloca_inst = dyn_cast<AllocaInst>(&I)) {
.
.
.
Value* var_addr = builder.CreateBitCast(alloca_inst,
Type::getInt8PtrTy(Ctx));
.
.
.
}
===============...