Hi, OPT documentation mentions optimization options -O1,-O2 and -O3 etc. (I am using -O0, no optimizations). The documentation does not tell you what optimizations are included in each option. It says they are same as gcc. gcc dodoc is not of much help either. Where can I find this information. Surinder Kumar Jain
On 01/21/2011 11:48 PM, Surinder wrote:> Hi, > > OPT documentation mentions optimization options -O1,-O2 and -O3 etc. > (I am using -O0, no optimizations). The documentation does not tell > you what optimizations are included in each option. It says they are > same as gcc. gcc dodoc is not of much help either. Where can I find > this information.Just call opt -O3 -debug-pass=Arguments program.ll which prints the list of passes executed. Cheers Tobi