[LLVMdev] User question, using IRBuilder to generate a llvm.memcpy instruction.

Jeffrey Yasskin jyasskin at google.com
Wed Jun 17 18:34:16 PDT 2009


http://code.google.com/p/unladen-swallow/source/browse/trunk/Python/llvm_fbuilder.cc#733
has an example of creating a memcpy call. For non-Python code, you'll
want to cast the arguments to "TypeBuilder<llvm::types::i<8>*,
true>::get()" instead.

On Wed, Jun 17, 2009 at 6:11 PM, Sean McQuillan<mcquillan.sean at gmail.com> wrote:
> Hello,
> If this is not the correct list to ask this question on IĀ apologize.
> I am attempting to generate a llvm.memcpy instruction with an IRBuilder but
> I cannot find the appropriate way to do this.
> Thanks in advance,
> Sean
> --
> Sean (Fritz) McQuillan - http://sean-mcquillan.com/




More information about the llvm-dev mailing list