search for: judison

Displaying 6 results from an estimated 6 matches for "judison".

Did you mean: hudson
2011 Mar 11
2
[LLVMdev] Unnamed temporaries
...2 = load i32* %ret ; <i32> int 73 ret i32 %2 74 } ... llvm-as std_lang.ll llvm-as: std_lang.ll:72:5: error: instruction expected to be numbered '%4' %2 = load i32* %ret ; <i32> int ^ Why %4 ??? what I did wrong? -- Judison judison at gmail.com "O ignorante que procura se instruir é como um sábio; o sábio que fala sem discernimento se assemelha a um ignorante." Imam Ali (as) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachmen...
2011 Mar 15
2
[LLVMdev] Kinda noob questions
...some arg is only readed or if its used as a var before generate the IR, an then only create (alloca) a %var if the arg is used for read-write :P (my language is "safe" (no pointers)) If LLVM optimizes it, I'll let it... if not, I'll do this optimization Thanks in advance :P -- Judison judison at gmail.com "A wise man first thinks and then speaks and a fool speaks first and then thinks." Imam Ali (as) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110314/1906fed8/attachment.html...
2011 Mar 11
0
[LLVMdev] Unnamed temporaries
On Fri, Mar 11, 2011 at 11:48 AM, Judison <judison at gmail.com> wrote: > I hope this is the right place to ask it, sorry if I'm wrong... It's the right place, though the IRC channel would have been good too. > My compiler is generating this code: > > (line numbers included) (Please ignore the extra br label %b0...
2011 Mar 15
0
[LLVMdev] Kinda noob questions
On 3/14/11 7:52 PM, Judison wrote: > Hi all, > > I have 2 simple questions... > > First, just for you to know, I'm making a compiler (kinda obvious) and > the language definition is mine, so there is no much constraint for > me, it's written in Java (it generates a .ll file as output) and it'...
2011 Mar 15
2
[LLVMdev] Kinda noob questions
On Mar 14, 2011, at 5:56 PM, John Criswell wrote: > On 3/14/11 7:52 PM, Judison wrote: >> >> 2) does the LLVM optimizes this: >> >> ; this code (arg -> var) is very similar to what gcc generates >> define void @foo(i32 %arg0) { >> entry: >> %var0 = alloca i32 >> store i32 %arg0, i32* var0 >> ... >>...
2011 Mar 15
0
[LLVMdev] Kinda noob questions
...at } or in llvm's words in the end of a block where b is not accessible anymore? Can I force its deallocation?? Thanks again On Mon, Mar 14, 2011 at 10:23 PM, John McCall <rjmccall at apple.com> wrote: > On Mar 14, 2011, at 5:56 PM, John Criswell wrote: > > On 3/14/11 7:52 PM, Judison wrote: > >> > >> 2) does the LLVM optimizes this: > >> > >> ; this code (arg -> var) is very similar to what gcc generates > >> define void @foo(i32 %arg0) { > >> entry: > >> %var0 = alloca i32 > >> store i32 %arg0,...