Displaying 1 result from an estimated 1 matches for "test_optim".
Did you mean:
test_opts
2003 Nov 07
0
[LLVMdev] Re: usage questions
...e options and
such. You can get the same effect by doing this:
gccas /dev/null -o /dev/null -debug-pass=Arguments
This prints out all of the optimization passes run by gccas, by default.
After you have this list, you can run:
llvm-as < test.ll | opt <all of the passes> | llvm-dis > test_optimized.ll
To play around with the various optimizations, you can now add and remove
them from the command line to opt, to see the effect of each one. Also,
you can try adding other optimizations that LLVM has. You can get a list
with 'opt --help'.
> When I use the following input prog...