Displaying 11 results from an estimated 11 matches for "faddegon".
2010 Sep 23
0
[LLVMdev] where does %a_addr.0 come from?
...wing instruction:
%a_addr.0 = phi i32 [ 1, %bb ], [ 0, %bb1 ] ; <i32> [#uses=1]
This is an SSA phi node which assigns a value of either 1 or 0 to %a_addr.0
depending on whether control reached the PHI node from basic block bb, or
bb1.
- Lang.
On Thu, Sep 23, 2010 at 11:26 PM, maarten faddegon <
m.faddegon at student.tudelft.nl> wrote:
> Hi,
>
> I am studying SSA and some time ago I asked on this list how to see the
> phi nodes in the llvm ir output. I learned then to use this command:
> opt -mem2reg test.ll -S > test_mem2reg.ll
>
> However, if you look at...
2010 Sep 23
3
[LLVMdev] where does %a_addr.0 come from?
...tion returns the variable %a_addr.0. However, this variable is
never defined or set. The variable %a is. Is "_addr.0" a way to get the
address of a variable? I could not find anything about this in in LLVM
language reference manual.
Where does this variable come from?
thanks,
Maarten Faddegon
-------------- next part --------------
; ModuleID = 'test.ll'
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"
d...
2010 Sep 10
3
[LLVMdev] where are my phi-nodes?
...on of the ir. I expected phi nodes all over the place. However, I could not find a single one! Could you tell my why that is so?
I compiled with "llvm-gcc -emit-llvm test.c -S -o test.ll". Attached to this message are the source and the resulting ll output.
Thanks in advance,
Maarten Faddegon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100910/e9f65c23/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 143 bytes...
2010 Nov 26
2
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
...on still applies to ARMv4T or
> ARMv5TE when developing portable code
Thus, if I want to follow this advice, is there a way to force LLVM to
not output instructions such as "mul r0, r0, r2"? As I believe was the
effect of the Lauro Ramos Venancio's patch.
kind regards,
Maarten Faddegon
2011 May 18
4
[LLVMdev] x86 cross compiler for ppc fails to build
I try to build a cross powerpc compiler, but llvm-gcc fails.
Eric Christopher wrote:
> Looks like you don't have an assembler for your target installed that
> llvm-gcc can find.
I have binutils installed for powerpc and verified they are working with
a simple hello world program.
$ powerpc-750-linux-gnu-as --version
GNU assembler 2.16.1
However, the xgcc build during the seems to
2010 Nov 25
2
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
...nstruction mul r0, r0, r2 at line 18.
* The patch is discussed at:
http://www.mail-archive.com/llvm-commits at cs.uiuc.edu/msg14069.html
* llvm-gcc --version
llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build)
Copyright (C) 2007 Free Software Foundation, Inc.
kind regards,
Maarten Faddegon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.c
Type: text/x-csrc
Size: 77 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101125/e8eef35b/attachment.c>
-------------- next part --------------
.syntax unified
....
2011 May 17
2
[LLVMdev] x86 cross compiler for ppc fails to build
...6_64-unknown-linux-gnu"
CROSS_TARGET="powerpc-linux"
CROSS_MARCH="750"
LLVM is building ok, but the second step: building llvm-gcc fails with a
rather strange error which I appended to the end of this e-mail.
Am I doing something wrong or is this a bug?
Thanks,
Maarten Faddegon
--- the error: ---
/llvm-gcc-4.2-2.9.source/gcc/../include
-I/local/maartenf/opt/src/all_llvm_2_9/buildroot_ppc/src/llvm-gcc-4.2-2.9.source/gcc/../libcpp/include
-I/local/maartenf/opt/src/all_llvm_2_9/buildroot_ppc/src/llvm-gcc-4.2-2.9.source/gcc/../libdecnumber
-I../libdecnumber
-I/local/ma...
2011 May 20
1
[LLVMdev] LLVMdev Digest, Vol 83, Issue 33
...vmdev/attachments/20110520/0b4e1ad2/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Fri, 20 May 2011 09:39:13 +0800
> From: ??? <chenwj at iis.sinica.edu.tw>
> Subject: Re: [LLVMdev] x86 cross compiler for ppc fails to build
> To: Maarten Faddegon <m.faddegon at student.tudelft.nl>
> Cc: llvmdev at cs.uiuc.edu
> Message-ID: <20110520013913.GA62105 at cs.nctu.edu.tw>
> Content-Type: text/plain; charset=utf-8
>
> Hi, Maarten
>
> > Can I conclude from this that indeed llvm-gcc for powerpc-linux is
> broken...
2011 May 17
0
[LLVMdev] x86 cross compiler for ppc fails to build
On May 17, 2011, at 9:47 AM, Maarten Faddegon wrote:
> LLVM is building ok, but the second step: building llvm-gcc fails with a
> rather strange error which I appended to the end of this e-mail.
> Am I doing something wrong or is this a bug?
Looks like you don't have an assembler for your target installed that
llvm-gcc can find...
2011 May 19
0
[LLVMdev] x86 cross compiler for ppc fails to build
...archives I found a thread where more or less the same problem is
discussed:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037327.html
Can I conclude from this that indeed llvm-gcc for powerpc-linux is broken?
Is anyone maintaining llvm-gcc for powerpc-linux or is it abandoned?
Maarten Faddegon
2010 Nov 25
0
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
Hi,
> I am using a cross compiler to compiler for the arm5 architecture. For
this
> architecture it is not allowed that a destination register is also used as
source
> register.
> In 2007 a patch was discussed at the mailing list, however my compiler
still is
> producing this result. Does anyone know if this patch is actually applied?
>
> * I use the following arguments: