[LLVMdev] how to convert into SSA form

Reid Spencer reid at x10sys.com
Wed Jan 11 22:34:58 PST 2006


Heh .. guess I fired that off just a little too fast :)

Reid.

On Wed, 2006-01-11 at 21:47 -0600, Misha Brukman wrote:
> On Wed, Jan 11, 2006 at 02:04:36PM -0600, Chris Lattner wrote:
> > On Wed, 11 Jan 2006, Reid Spencer wrote:
> > >llvm-as file.bc | opt -mem2reg | llvm-dis > file.ll
> > 
> > llvm-as < file.bc | opt -mem2reg | llvm-dis > file.ll
> > 
> > Note the extra "<".
> 
> Strictly speaking, llvm-as converts .ll to .bc so that would be:
> 
> llvm-as < input.ll | opt -mem2reg | llvm-dis > output.ll
> or
> opt -mem2reg < file.bc | llvm-dis > file.ll
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060111/c7b0ecba/attachment.sig>


More information about the llvm-dev mailing list