Displaying 20 results from an estimated 7000 matches similar to: "Re: [LLVMdev] Compile a linux kernel with LLVM?"
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote:
> When I compiled a linux kernel, gccas was used to compile assembly code.
>
> But gccas cannot recognize the line comment character "#" of gnu assembler,
>
> and abort the compile with reporting a error "syntax error, unexpected $undefined".
>
> I watch llvm/tools/gccas, but donot known how to add this function in it.
>
2005 Jun 20
1
[LLVMdev] 'make check' failed with: ... PHI node entries donot match predece
Hi Reid,
Now, I've removed the file and updated the source tree with this command:
cvs -z3 -d :pserver:anon at llvm-cvs.cs.uiuc.edu:/var/cvs/llvm update -PdR llvm
However, the file still exits.
Henrik.
>From: Reid Spencer
>Date: Mon, 20 Jun 2005 10:57:54 -0700
>
>Hi Henrik,
>
>You don't have the latest C/C++ Front End Source code. Please update
>from CVS to get
2004 Jun 22
3
[LLVMdev] Qestion about running LLVM
Hi,
I'm a newbie and just installed LLVM on a Linux box. I followe
"The LLVM Getting Started Guide" on the web and have some trouble
on the section "An Example Using the LLVM Tool Chain". When I compile
the simple hello.c program with "llvmgcc hello.c -o hello", the system
complains -- gcc: installation problem, cannot exec `gccas': Permission
denied. Does
2005 Feb 18
0
[LLVMdev] questions about installing llvm
On Fri, Feb 18, 2005 at 11:30:45AM -0600, Feng Chen wrote:
> However, although the configuration and installation process doesn't
> report any error/warning, the llvmc cannot work. It just says:
> Unexpected unknown exception occurred :(
>
> Do you have any clue about that?
Have you compiled and installed llvm-gcc/llvm-g++? llvmc is not a
compiler, it's just a compiler
2005 May 05
2
[LLVMdev] Scheme + LLVM JIT
On May 5, Misha Brukman wrote:
> Maybe we can use you for a testimonial... :)
Certainly.
> > Tail Call Elimination:
> >
> > I've read over the "Random llvm notes", and see that you guys have
> > though about this already.
> >
> > However, the note dates from last year, so I am wondering if there is
> > an implementation in the works.
2005 May 05
0
[LLVMdev] Scheme + LLVM JIT
On Thu, May 05, 2005 at 03:46:58AM -0400, Alexander Friedman wrote:
> On May 5, Misha Brukman wrote:
> > To the best of my knowledge, this has not been done and no one has
> > announced their intent to work on it, so if you are interested,
> > you'd be more than welcome to do so.
>
> My C++ knowledge is completely non-existant, but so far I've had a
>
2005 May 05
2
[LLVMdev] Scheme + LLVM JIT
On Thu, 5 May 2005, Misha Brukman wrote:
> On Thu, May 05, 2005 at 03:46:58AM -0400, Alexander Friedman wrote:
>> On May 5, Misha Brukman wrote:
>>> To the best of my knowledge, this has not been done and no one has
>>> announced their intent to work on it, so if you are interested,
>>> you'd be more than welcome to do so.
>>
>> My C++ knowledge
2005 Jul 11
2
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
This didn't work as I tried with 197.parser. it works without
"-Wl,-disable-opt" switch though.
[197.parser]$ llvm-gcc analyze-linkage.c and.c build-disjuncts.c
extract-links.c fast-match.c idiom.c main.c massage.c parse.c
post-process.c print.c prune.c read-dict.c utilities.c xalloc.c
word-file.c strncasecmp.c -Wa,-disable-opt -Wl,-disable-opt -lm -o
llvm_parser
[197.parser]$
2004 Jun 28
1
[LLVMdev] xgcc: installation problem, cannot exec `gccas': No such file or directory
Hi Guys
I'm trying to port and build the GCC Front End to the Interix environment.
I've succeded until the xgcc program executes:
/usr/local/src/cfrontend/build/gcc/xgcc
-B/usr/local/src/cfrontend/build/gcc/
-B/usr/local/src/cfrontend/install//i586-pc-interix3/bin/
-B/usr/local/src/cfrontend/install//i586-pc-interix3/lib/ -isystem
2005 Feb 17
5
[LLVMdev] questions about installing llvm
Actually, Misha, that won't work.
The -C option is used directly in docs/Makefile. So the change will have
to go into docs/Makefile. Either that or upgrade install to version 5.
Reid.
On Thu, 2005-02-17 at 11:33, Misha Brukman wrote:
> On Thu, Feb 17, 2005 at 01:21:20PM -0600, Feng Chen wrote:
> > llvm[1]: Installing HTML documentation
> >
2005 May 10
0
[LLVMdev] Scheme + LLVM JIT
LLVM list,
I bumped into Alex Friedman in the hall today and by coincidence
he mentioned that they were switching to LLVM for their PLT Scheme
JIT project. I had evaluated LLVM a few weeks ago for my own purposes,
but decided that it was too C/C++ centered and that critical features
such as tail call optimization and other stack manipulation features
were likely stagnant. So naturally I asked
2005 Jul 12
0
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
On Mon, 11 Jul 2005, Long Fei wrote:
>
> This didn't work as I tried with 197.parser. it works without
> "-Wl,-disable-opt" switch though.
>
> [197.parser]$ llvm-gcc analyze-linkage.c and.c build-disjuncts.c
> extract-links.c fast-match.c idiom.c main.c massage.c parse.c post-process.c
> print.c prune.c read-dict.c utilities.c xalloc.c word-file.c
2005 Jul 07
3
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
I am investigating some inlining issue, so I did
llvm-gcc aaa.c bbb.c ... nnn.c -o output
opt -inline -inline-threshold=xxx < output.bc | llc -march=c >
output_inline.c
1)
I noticed that even if I set xxx to 0 or even a very small negative
number, many functions are eliminated. I am wondering if these functions
are inlined by the frontend, or identified as deadcode.
For instance,
2005 May 05
0
[LLVMdev] Simplifying boolean expressions
On Thu, May 05, 2005 at 09:47:50AM +0400, Vladimir Prus wrote:
> > Actually, the -instcombine pass already does this. Please try it
> > out and let me know if it doesn't do what you want.
>
> It does work! For some reason, I was assuming that running 'opt'
> without arguments would run some "reasonable" set of optimizations,
> while in reality, it
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
Hi all LLVMor,
I just tried to compile a simple code and analyze the number of the basic blocks. But after compile, what I got, the bytecode is seems to be optimized bytecode. So the information of basic blocks is not what I expected. I want ot use the code as example to see how some of code optimization methods work. However, after compiling file using llvm test.c -o test, bytecode file
2005 May 05
2
[LLVMdev] Simplifying boolean expressions
On Wednesday 04 May 2005 18:34, Chris Lattner wrote:
> On Wed, 4 May 2005, Vladimir Prus wrote:
> > %tmp.aux = cast bool %tmp.24 to int
> > %tmp.x = xor int %tmp.aux, 1 ; negates tmp.24
> > %tmp.xx = cast int %tmp.x to bool
> > %tmp.y = or bool %tmp.xx, %tmp.24 ; will be always true
> > br bool %tmp.y,
2005 Jul 07
0
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
Long Fei wrote:
>
> I am investigating some inlining issue, so I did
>
> llvm-gcc aaa.c bbb.c ... nnn.c -o output
> opt -inline -inline-threshold=xxx < output.bc | llc -march=c >
> output_inline.c
I am unsure of whether the LLVM GCC frontend does any inlining.
However, I do know that your methods above run the LLVM inlining pass,
albeit indirectly.
If you use
2003 Dec 17
3
[LLVMdev] pass position
Suppose, I have a Pass1 implemented as a subclass of Pass, with source code in
the directory of llvm source base( transform/analyze )
I can run that pass through opt on the bytecode emitted by gcc frontend
through opt tool. However, I want that Pass1 to be the part of the actual GCC
compiler. I want to know how I can position Pass1 among other passes
/optimizations/ code generations.
e.g if
2005 May 05
0
[LLVMdev] Scheme + LLVM JIT
Hi, Alexander!
On Wed, May 04, 2005 at 11:59:06PM -0400, Alexander Friedman wrote:
> I am in the preliminary stages of adding a JIT compiler to a sizable
> Scheme system (PLT Scheme).
Cool!
> The original plan was to use GNU Lightning, but 1) it seems to be
> dead, and 2) LLVM has already done a huge amount of stuff that I would
> have had to write (poorly) from scratch.
Maybe
2005 Jul 07
2
[LLVMdev] Compile a linux kernel with LLVM?
Hi,
I want to check some properties of linux kernel with llvm, but I don't know how to compile a
linux kernel to an llvm's .bc file. I have let llvm's gcc front-end ignore inline assembly by
modifying cfrontend/src/gcc/llvm-expand.c, and replace CC/as/ar in the Makefile of the kernel
with llvm-gcc/llvm-as/llvm-ar. However, the linux's "make" reports errors: