KS Sreeram
2009-Sep-28 20:38 UTC
[LLVMdev] [PATCH] llvm c-api wrapper for IRBuilder::CreateFNeg
Hi folks, The llvm c-api contains LLVMBuildNeg but not LLVMBuildFNeg. I've attached a simple patch which adds LLVMBuildFNeg. I know it's a little late, but it'll be great if this can be added for the 2.6 release. I'm asking because I'd like to add support for FNeg in llvm-py too, and it'll be hard to do that if llvm 2.6 doesn't have it. Regards KS Sreeram -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: llvm-c-api-fneg.diff URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090929/c10fac68/attachment.ksh>
Dan Gohman
2009-Sep-28 21:52 UTC
[LLVMdev] [PATCH] llvm c-api wrapper for IRBuilder::CreateFNeg
Hello, Thanks for the patch. I applied it on trunk. I suspect it's too late for 2.6 though. Dan On Sep 28, 2009, at 1:38 PM, KS Sreeram wrote:> Hi folks, > > The llvm c-api contains LLVMBuildNeg but not LLVMBuildFNeg. I've > attached a simple patch which adds LLVMBuildFNeg. > > I know it's a little late, but it'll be great if this can be added > for the 2.6 release. I'm asking because I'd like to add support for > FNeg in llvm-py too, and it'll be hard to do that if llvm 2.6 > doesn't have it. > > Regards > KS Sreeram > > <llvm-c-api-fneg.diff>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Tanya Lattner
2009-Sep-30 23:06 UTC
[LLVMdev] [PATCH] llvm c-api wrapper for IRBuilder::CreateFNeg
On Sep 28, 2009, at 2:52 PM, Dan Gohman wrote:> Hello, > > Thanks for the patch. I applied it on trunk. I suspect it's > too late for 2.6 though. >Sorry, this is way too late for 2.6. "new" features have to be added before we even branch. -Tanya> Dan > > On Sep 28, 2009, at 1:38 PM, KS Sreeram wrote: > >> Hi folks, >> >> The llvm c-api contains LLVMBuildNeg but not LLVMBuildFNeg. I've >> attached a simple patch which adds LLVMBuildFNeg. >> >> I know it's a little late, but it'll be great if this can be added >> for the 2.6 release. I'm asking because I'd like to add support for >> FNeg in llvm-py too, and it'll be hard to do that if llvm 2.6 >> doesn't have it. >> >> Regards >> KS Sreeram >> >> <llvm-c-api-fneg.diff>_______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev