[LLVMdev] [patch] Missing instructions in llvm-c.

Mahadevan R mdevan.foobar at gmail.com
Mon Jun 9 10:33:46 PDT 2008


The attached patch adds wrappers for the instructions vicmp, vfcmp,
ret (multiple) and getresult, and for the vicmp and vfcmp operations
on constants, to llvm-c.


1) There appears to be no way to create intrinsics via llvm-c. Is there?

2) The "extractvalue"[1] and "insertvalue"[2] instructions don't seem
to be addable via IRBuilder. Why?


[1] http://www.llvm.org/docs/LangRef.html#i_extractvalue
[2] http://www.llvm.org/docs/LangRef.html#i_insertvalue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrap_more_insts.patch
Type: text/x-diff
Size: 5551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080609/75e2faf3/attachment.patch>

More information about the llvm-dev mailing list