[LLVMdev] Specifying Additional Compilation Passes to lli

Evan Cheng evan.cheng at apple.com
Mon Sep 15 09:46:16 PDT 2008


Hi Tom,

I don't think this is the right approach. May I ask you what passes  
you are trying to add? If you just want to run a number of llvm level  
optimization passes, the right approach is to add your own pass  
manager instead.

Evan

On Sep 11, 2008, at 10:30 AM, Thomas B. Jablin wrote:

> Hi,
>
> I'm interested in specifying some additional passes to the JIT via  
> the command-line. The enclosed patch allows lli to take compiler  
> passes as command-line arguments in the same way opt does. This is  
> my first submission, so any comments, criticisms, or observations  
> would be very welcome. Thanks.
>
> Tom  
> Jablin 
> < 
> PassArgumentsForLLI 
> .diff>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list