Displaying 1 result from an estimated 1 matches for "74c1aa12".
Did you mean:
14c1a12
2011 Aug 11
1
[LLVMdev] Instruction Insertion
Hi everybody,
I'm trying to implement a LLVM Pass that insert instructions into a
basicblock.
I'm using a FunctionPass and I want to add somthing like this :
%tmp = alloca i32, align 4
%tmp2 = alloca i32, align 4
store i32 10, i32* %tmp
store i32 2, i32* %tmp2
%tmp3 = add i32 %tmp, %tmp2
I try to follow the official tuto, I think this part is out of date.