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

Dan Gohman gohman at apple.com
Mon Jun 9 14:37:33 PDT 2008


On Jun 9, 2008, at 10:33 AM, Mahadevan R wrote:

> Hi.
>
> 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.
>
> Also:
>
> 1) There appears to be no way to create intrinsics via llvm-c. Is  
> there?

I'm not familiar with the llvm-c API; hopefully someone else can  
comment.

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

They're part of a new feature that's currently under development, and
we haven't gotten to that point yet. Patches for this would be
welcome :-).

Dan




More information about the llvm-dev mailing list