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 ^-^
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.
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
Xiaoyao,
Sorry, that file is gone from our trunk certainly. I meant the patch
submitted by Cristianno:
http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20120305/64ab34a2/attachment.obj
- D.