[LLVMdev] PHI and Allocas

Renato Golin rengolin at systemcall.org
Thu Oct 1 14:48:13 PDT 2009


2009/10/1 Kenneth Uildriks <kennethuil at gmail.com>:
> I hope so, because I've been doing the same thing.  My local variables
> are always bound to alloca's, and my test makefile just calls "opt
> -std-compile-opts" after my compiler runs; so far it's been giving me
> pretty good code as a result.

Same here, but I'm not compiling any really complex code, so I thought
it was just beginner's luck.

Looks like it's another score for the "LLVM magic"! ;)

It might create problems for a potential debugger, but I'm not
planning to create one too soon.

cheers,
--renato




More information about the llvm-dev mailing list