[LLVMdev] Executing a transformed program
reid.kleckner at gmail.com
Thu Jul 1 22:20:41 PDT 2010
How are you getting LLVM to run your pass? There's plenty of
information here if you haven't found this document:
I'm going to assume you're using `opt -load MyPass.so -my-pass
input.bc -o output.bc` in which case you can just run llc on output.bc
to get a .s file.
On Thu, Jul 1, 2010 at 8:16 PM, Alysson <aishofpf at gmail.com> wrote:
> Hi all,
> I´ve been working on a transformation pass which performs the remotion of
> some redundant instructions.
> So now it´s finished I´d like to run the optimized programs generated by my
> But I´ve got some problems to do this, because I didn´t find a way to
> generate assembly from the code and then call the gcc compiler to produce
> machine-dependent code.
> Please, does anybody know how to run programs optmized by passes?
> Thanks you all!
> Best regards,
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev