similar to: [LLVMdev] LLVM-GCC

Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] LLVM-GCC"

2011 Apr 19
1
[LLVMdev] LLVM-GCC
On 4/19/11 9:16 AM, Óscar Fuentes wrote: > yafan zhao<yafan.zhao at gmail.com> writes: > >> I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 >> on windows machine. I have most of the .exe in bin, such as lli and >> clang, and they works fine, but there is no llvm-gcc. Do I need to compile >> llvm-gcc separately and how to do it on
2011 Apr 19
0
[LLVMdev] LLVM-GCC
yafan zhao <yafan.zhao at gmail.com> writes: > I need you help here. I complied LLVM 2.8 using CMAKE +MS Visual Studio 2008 > on windows machine. I have most of the .exe in bin, such as lli and > clang, and they works fine, but there is no llvm-gcc. Do I need to compile > llvm-gcc separately and how to do it on windows machine? Building llvm-gcc with Visual Studio is not
2011 Apr 28
0
[LLVMdev] Problem with compiling the runtime libary
Hi Chen Applied your patch to cmakelists files in LLVM 2.9 release and build llvm using Visual Studio 2008 successfully, but there is still no profile_rt.so. I do have profile_rt of visual studio solution file and project file in folder \llvm-2.9build\runtime\libprofile. I also tried version2.9 form SVN and it has all necessary cmakelists files now, but I still have same problem (no
2011 Apr 27
3
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao > I have checked out llvm 2.9. There is only one CMakeLists file in Release or svn? I believe Nick has committed those CMake files into svn. You can apply my patch to LVM 2.9 Release. > "\llvm-2.9". and no CMakeLists file in folder either > "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? As Nick said, libprofile
2011 Apr 22
2
[LLVMdev] Problem with compiling the runtime libary
Hi All Thanks for all replies regarding to my GCC problem. I am trying to do profiling now and need to generate "profile_rt.so" file. I compiled the runtime library using MAKE and tried on both Windows and Mac, but the compiling can not be done properly. I got the following error message: ------------------------------ make: Entering directory `C:/llvm/runtime'
2011 Apr 22
0
[LLVMdev] Problem with compiling the runtime libary
yafan zhao wrote: > Hi All > Thanks for all replies regarding to my GCC problem. > I am trying to do profiling now and need to generate "profile_rt.so" > file. I compiled the runtime library using MAKE and tried on both > Windows and Mac, but the compiling can not be done properly. I got the > following error message: > ------------------------------ > make:
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick Thanks for you reply. CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified? I managed to compile the run time library on a mac machine. Yafan On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > yafan zhao wrote: > >> Hi All >> Thanks for
2011 Apr 26
3
[LLVMdev] Problem with compiling the runtime libary
On 24 April 2011 00:57, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, Zhao > > You can apply the attachment to LLVM 2.9 Release. It has been tested > on FreeBSD/x86. > Hi Chen, may I commit this (updated to include GCDAProfiling.cpp) to LLVM SVN? Nick > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information
2011 Apr 26
0
[LLVMdev] Problem with compiling the runtime libary
Hi Chen Thanks for the attached patch file. I have checked out llvm 2.9. There is only one CMakeLists file in "\llvm-2.9". and no CMakeLists file in folder either "\llvm-2.9\runtime\libprofile" or "\llvm-2.9\runtime". Where did you get it? Yafan 2011/4/26 Nick Lewycky <nlewycky at google.com> > On 24 April 2011 00:57, 陳韋任 <chenwj at
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
I did a sanity check and run some of the bitcode I complied with gllvm and it seems to work fine under lli. The only issues is to make sure you load all the (external) libraries the bitcode needs. I highly suggest you run a debug version of lli under a debugger and see what exactly happens. On Mon, Jan 28, 2019 at 12:45 PM Peng Yu <pengyu.ut at gmail.com> wrote: > It seems that it does
2012 Apr 14
2
[LLVMdev] opt problem
Hi, Does anyone know which version of LLVM support "opt --insert-block-profiling command"? Thanks! Jianing Zhao On Apr 14, 2012, at 8:08 AM, Duncan Sands wrote: > Hi Jianing Zhao, > >> When I use the opt --insert-block-profiling command, there is " opt: Unknown command line argument '-insert-block-profiling'." > > yes, it doesn't exist any
2012 Apr 15
0
[LLVMdev] opt problem
> Does anyone know which version of LLVM support "opt --insert-block-profiling command"? Thanks! You might try it by yourself. You can download LLVM x86 binary from the website, which makes the testing easier. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage:
2020 Jan 14
4
clang interpreter failed to materialize symbols
Hi Igor, not sure if that will work, but have you tried lli -jit-kind=orc-lazy ? The default is still MCJIT: https://github.com/llvm/llvm-project/blob/master/llvm/tools/lli/lli.cpp#L88 On 13/01/2020 19:07, David Blaikie via llvm-dev wrote: > (+Lang for JIT/interpreter questions) > > On Sun, Jan 5, 2020 at 5:00 PM Igor Gomon via llvm-dev > <llvm-dev at lists.llvm.org
2017 Feb 27
2
lli can't find vsprintf
thank you! yes, i guess that is the problem. unfortunately libcmt doesn't work. could it have another name for lli? The function missing seems to be part of libcmt since i get a similar error on linking if i remove the libcmt D:\llvm\examples\helloworld>lli -load=libcmt hello.bc Error opening 'libcmt': libcmt: Can't open: The specified module could not be found. (0x7E)
2020 Jan 06
2
clang interpreter failed to materialize symbols
Hello, I am new to LLVM and what I am trying to do is to get a very simple “hello-world” C++ program to compile to LLVM IR and then to run it using lli tool. So here is the program code (hello.cpp): #include <iostream> int main (int argc, char *argv[]) { std::cout << "Hello World!\n"; return 0; } Below are the steps I do to achieve that goal: 1. clang++.exe
2004 Dec 24
2
[LLVMdev] A first!
There's a problem with the license for ltdl.c when building with VC++. It is under the LGPL, with a special exception: As a special exception to the GNU Lesser General Public License, if you distribute this file as part of a program or library that is built using GNU libtool, you may include it under the same distribution terms that you use for the rest of that program. The problem is,
2011 Feb 12
3
[LLVMdev] pow operator on Windows
I have a very simple test case on Windows that shows some surprising behavior. This doesn't seem to be a problem on Linux. The example is: #include <stdio.h> #include <math.h> double heat(double Pr) { return pow(Pr, 0.33); } int main(int argc, char **argv) { double Nu = heat(291.00606180486119); printf("%.20f\n", Nu); } I've tested with MinGW's gcc.exe
2020 Jan 16
2
clang interpreter failed to materialize symbols
Hi Stefan, I just tried the -jit-kind=orc-lazy with lli executable and it solves the problem on Ubuntu 18.04 (still does not work on Windows 10). But this solution is good enough for me now. Thanks again for your help! -- Best Regards, Igor ________________________________ From: Igor Gomon <giv_ua at hotmail.com> Sent: Tuesday, January 14, 2020 7:38 PM To: Stefan Gränitz
2010 Nov 21
0
[LLVMdev] Poor floating point optimizations?
Thanks for replying so fast. This UnsafeFPMath trick in fact solves "pxor adds" case, but the resulting code is still not as good as I expected from LLVM. For example expressions like "1+x+1+x+1+x+1+x" (basically adding a lot of constants and variables) are complied to a long series off <add>s both in IR and assembly code. Both GCC and MSVC generates C1*x +C2 (mov +
2010 Oct 24
2
[LLVMdev] lli : external functions and target datalayout
Hi All, I have a C code: ////////////////////////////// #include "stdio.h" int main () { putchar('a'); return 0; } llvm-gcc -emit-llvm, I got //////////////////////////////////////// ; ModuleID = 't1.bc' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple