[LLVMdev] replace instruction

Chayan Sarkar chayan.ju at gmail.com
Fri Jul 16 23:28:54 PDT 2010

Hello all,

Suppose I have an Instruction like

%1 = add i32 %a, %b

and I want to convert it like

%t = add i32 %a, %b
and assign the value of %t to %1 (something like %1 <- %t )

how can I accomplish this?


More information about the llvm-dev mailing list