[LLVMdev] llvm opt phase ordering

Gang-Ryung Uh guh at boisestate.edu
Fri Jan 15 18:21:02 PST 2010


I wonder whether this question is appropriate to this forum or not; if not,
please educate me.

For the following command line arguments, what happens to the optimization
phases when the licm phase moves out loop invariant instructions to loop
preheaders?

opt  -simplifycfg -instcombine -inline -globaldce -instcombine -simplifycfg
-scalarrepl -mem2reg -verify -sccp -adce -licm -instcombine -dce
-simplifycfg -deadargelim  -globaldce -deadtypeelim < test.bc > test-opt.bc



-- UGR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100115/1b85fd7c/attachment.html>


More information about the llvm-dev mailing list