> Date: Sat, 22 Nov 2008 09:30:09 -0800
> From: Nick Lewycky <nicholas at mxc.ca>
> Subject: Re: [LLVMdev] [ANN] llvm-py 0.5 released.
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Message-ID: <492841A1.2040400 at mxc.ca>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Mahadevan R wrote:
>> Hi.
>>
>> Version 0.5 of llvm-py, Python bindings for LLVM, has been released.
>> This version supports (only) LLVM 2.4. New instructions of LLVM 2.4
>> (vicmp, vfcmp, insertvalue, extractvalue) are available.
>>
>> Home page: http://mdevan.nfshost.com/llvm-py/
>>
>> Feedback welcome.
>
> This is very nice. I especially appreciate the extensive user guide!
>
> Why do you use IPRED_xx and RPRED_xx instead of ICMP_xx and FCMP_xx? The
> latter is what we use in the C++ code and it seems to me that this is an
> unnecessary potential source of confusion.
These were based on the LLVMIntPredicate and LLVMRealPredicate enums
from LLVM-C. But ICMP_xx and FCMP_xx does seem more prevalent, and I
agree that it's more logical to use them instead. I'll add those and
deprecate the former.
Thanks,
-Mahadevan.