In llvm3.0,I use the llc to convert the IR to C code, But the code lack key words like "struct", Who can tell me how to modify the CBackend, 3Q ^-^ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120818/ee901cb1/attachment.html>
Dmitry N. Mikushin
2012-Aug-18 14:30 UTC
[LLVMdev] llmv3.0 CBackend convert IR to IR error
Hi, First of all, please note: as of v3.1, C backend has been thrown away for being "buggy" and "unmaintained". Several months ago there was a similar question, and it was solved. Please see the patch attached here: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html Best, - D. 2012/8/18 xiaoyaollvm <xiaoyaollvm at 126.com>:> In llvm3.0,I use the llc to convert the IR to C code, > But the code lack key words like "struct", Who can tell me how to modify the > CBackend, 3Q ^-^ > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Thank you for answering my E-mail. According to http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html, I open the link: https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.gpu.patch?root=kernelgen&view=markup https://hpcforge.org/scm/viewvc.php/trunk/patches/llvm.patch?revision=591&root=kernelgen&view=markup The result is: SCM Repository An Exception Has Occurred trunk/patches/llvm.gpu.patch: unknown location HTTP Response Status 404 Not Found Python Traceback Traceback (most recent call last): File "/usr/share/gforge/www/scm/viewvc/lib/viewvc.py", line 3612, in main request.run_viewvc() File "/usr/share/gforge/www/scm/viewvc/lib/viewvc.py", line 314, in run_viewvc % self.where, '404 Not Found') ViewVCException: 404 Not Found: trunk/patches/llvm.gpu.patch: unknown location could you tell me where to download the patches ? If it is convenient, could you send me the pathes with using E-mail attachments? Thanks, xiaoyao from China At 2012-08-18 22:30:21,"Dmitry N. Mikushin" <maemarcus at gmail.com> wrote:>Hi, > >First of all, please note: as of v3.1, C backend has been thrown away >for being "buggy" and "unmaintained". > >Several months ago there was a similar question, and it was solved. >Please see the patch attached here: >http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047989.html > >Best, >- D. > >2012/8/18 xiaoyaollvm <xiaoyaollvm at 126.com>: >> In llvm3.0,I use the llc to convert the IR to C code, >> But the code lack key words like "struct", Who can tell me how to modify the >> CBackend, 3Q ^-^ >> >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>