similar to: [LLVMdev] llmv3.0 CBackend convert IR to IR error

Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] llmv3.0 CBackend convert IR to IR error"

2012 Aug 20
1
[LLVMdev] llmv3.0 CBackend convert IR to IR error
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
2012 Aug 18
0
[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
2012 Mar 05
3
[LLVMdev] Problem using march=c
Hello everyone, I've been trying to generate a C file using the llc tool, but I'm having a problem. I'm using a single Hello World program in C, and executing the following passes: clang -emit-llvm -c -o hello.bc hello.c  # getting the bit code of hello.c llc -march=c hello.bc                          # generating the hello.cbe.c file using the llvm C backend So far, nothing weird
2012 Mar 05
0
[LLVMdev] Problem using march=c
Hi Cristianno, This problem has been around for a while, ourselves we solve it with the following patches: 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 Please feel free to apply them, they *should* work for you even with the latest llvm
2012 Mar 05
1
[LLVMdev] Problem using march=c
Hello again, Thanks for the responses =) Dmitry, I have two points to comment: - First, I applied these two patches, and the .cbe.c file came out ok, except for one little thing -- the global variable was created with both modifiers: static and extern. Then, I just added a single guard to prevent this to happen (in a case of a variable having local linkage, the "extern" part was not
2012 Dec 26
1
[LLVMdev] Proper values for LLVMCreateTargetMachine
I can't seem to get LLVMCreateTargetMachine to work on my box (MBP i7 OS X 10.8). What should the values of triple, cpu and features be? I'm just looking for a way to get this up and going for now, I don't need specific optimizations. No matter what I send the function, I always get nil back. I'm giving it LLVMGetFirstTarget as the target value. Thanks for the help, Timothy
2013 May 03
2
[LLVMdev] How to convert the .s file(assemble) to .ll (IR)
Hi all, I have the file which is assemble, I want to convert it to IR. Are there some tools to do this in LLVM? Thanks, Yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/d7fd4741/attachment.html>
2012 Apr 19
0
[LLVMdev] CBackend removal
> I'm periodically updating my local version of the LLVM, and, when I did it > today, I couldn't use the llc with -march=c. Looking for the CBackend files, > I realized that they were removed from the LLVM folder. I actually don't > remember reading about a drop of this capability in any of the devlist > messages, so I was wondering if this removal could be only
2012 Apr 19
2
[LLVMdev] CBackend removal
Hi everyone, I'm using the LLVM in a project, and I'm specially interested in using its optimizer. After apply the optimizations, I needed to create a C/C++ source code equivalent to the original one. I'm periodically updating my local version of the LLVM, and, when I did it today, I couldn't use the llc with -march=c. Looking for the CBackend files, I realized that they were
2008 Jan 11
1
[LLVMdev] Patch for NetBSD support in CBackend.cpp
NetBSD does not have alloca.h, so CBackend.cpp need to handle NetBSD in the same way as FreeBSD and OpenBSD, as in the attached patch. /Krister -------------- next part -------------- Index: CBackend.cpp =================================================================== --- CBackend.cpp (revision 45865) +++ CBackend.cpp (working copy) @@ -1323,7 +1323,7 @@ static void
2011 Aug 10
1
[LLVMdev] Experimental fixes to CBackend
On Fri, Aug 5, 2011 at 10:33 AM, Dmitry N. Mikushin <maemarcus at gmail.com> wrote: > Hi, > > Please see the collection of test cases attached. To build everything > execute make in the top directory. Files with logs show how > compilation fails/succeeds, depending on patched/unpatched version of > llvm. > > Could we setup this test suite as a regular test for C
2010 Feb 19
1
[LLVMdev] Cbackend is C99?
Hi, I would like to know if the command llc -march=c hello.bc generates a c99 file or not. Is the cbackend target meant to be c99 or normal C. -- Kalyan Ponnala phone: 8163772059 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100219/e67c7a73/attachment.html>
2008 Jun 05
0
[LLVMdev] A question about CBackend.cpp
Hi, I'm reading the code in CBackend.cpp and found some wired chunk in void CWriter::printConstant(Constant *CPV) 938 if (ConstantInt *CI = dyn_cast<ConstantInt>(CPV)) { 939 const Type* Ty = CI->getType(); 940 if (Ty == Type::Int1Ty) 941 Out << (CI->getZExtValue() ? '1' : '0'); 942 else if (Ty == Type::Int32Ty) 943 Out << CI->getZExtValue() <<
2011 Jan 10
1
[LLVMdev] Current state of the (new) CBackend & LLVM/clang with Microsoft Visual Studio
Hi. I am interested in using the CBackend of LLVM. I have read about the problems with the current version and that David Greene has started a reimplementation. Can you tell me about its current state? Furthermore, I use Microsoft Visual Studio. The "Getting started with MVC" documents for release 2.8 say "To emphasize, there is no C/C++ front end currently available" but
2011 Aug 05
0
[LLVMdev] Experimental fixes to CBackend
Hi, Please see the collection of test cases attached. To build everything execute make in the top directory. Files with logs show how compilation fails/succeeds, depending on patched/unpatched version of llvm. Could we setup this test suite as a regular test for C backend? Thanks, - D. 2011/8/5 Dmitry N. Mikushin <maemarcus at gmail.com>: > Hi, > > LLVM C backend as of revision
2012 Apr 19
0
[LLVMdev] CBackend removal
Hi Dmitry, Where were you expecting notice to have been given? If I recall correctly, the obsolescence of the C backend was mentioned many times on this mailing list, and as Owen notes, in the release notes since 2.8. I'm not trying to be snarky. You were obviously genuinely surprised by its removal, and that makes me wonder if where the core open source devs are expecting people to look for
2010 Aug 04
0
[LLVMdev] CBackend bug fix
Applied in http://llvm.org/viewvc/llvm-project/?view=rev&revision=110194 Thanks! Gabor
2010 Aug 06
1
[LLVMdev] How to access Debug Type Information (from Cbackend)
Hi, I'm trying to recover the inheritance relations for a class type (so a list of base classes) from a llvm ir file generated via compiling some cpp file using clang. I have access to the TypeSymbolTable and have found the class type I want to know the base classes for in the table. How do I go about extracting this (debug) information? I'm stuck here: if(StructType*
2011 Aug 05
3
[LLVMdev] Experimental fixes to CBackend
Hi, LLVM C backend as of revision 136600 suffers from the following issues: * Forward structs declarations block is missing (it was there previously, why was it removed?) * Anonymous container structs are not generated for array types, resulting into declarations being placed directly into functions prototypes (previously it was not happening as well) I'm not very familiar with llvm
2012 Apr 19
1
[LLVMdev] CBackend removal
Dear Jim and Owen, Thanks for replies, I only kindly suggest some discussion on the maillist in such cases. Just in general, nasty precedents sometimes happen, for example on IRC I've recently seen some commits to Objective C were requested to be reverted, because they were commited without any discussion. Here things are certainly not that hard, but the point is the same: it is always nice