[LLVMdev] -O2, -O3 in JIT
Dan Gohman
gohman at apple.com
Tue Feb 24 10:06:42 PST 2009
On Feb 24, 2009, at 6:10 AM, Mark Shannon wrote:
> Hi,
>
> Does anyone know an easy way to do same optimisations as 'opt -O2'
> or 'opt -O3' in the JIT.
No, but a patch to factor out the relevant code from opt.cpp so
that it can be used like this would be welcome. The code probably
has to go in an inline function in a header file to avoid library
dependency issues, but otherwise it should be straight-forward.
Dan
More information about the llvm-dev
mailing list