[LLVMdev] How to change the type of an Instruction?

Douglas do Couto Teixeira douglasdocouto at gmail.com
Fri Jan 21 12:56:32 PST 2011


Hello guys,

I wonder how I can change the type of an integer variable. For instance,
given the instruction "%3 = add i32 %1, %2" I would like to alter the
instruction to "%3 = add i16 %1, %2". Is there any way to do this?

Best wishes,

Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110121/c0007572/attachment.html>


More information about the llvm-dev mailing list