diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-18 17:14:09 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-18 17:14:09 +0000 |
commit | 5b31cf0f9f53b08bed1e792aade56ef6d7c87e27 (patch) | |
tree | 0e0ef1ef07e7cb810cd85e92ce98f20047113bc5 /utils/findmisopt | |
parent | 52d0d6648e6687548e90c1e43635e8768fe6b99a (diff) | |
download | external_llvm-5b31cf0f9f53b08bed1e792aade56ef6d7c87e27.zip external_llvm-5b31cf0f9f53b08bed1e792aade56ef6d7c87e27.tar.gz external_llvm-5b31cf0f9f53b08bed1e792aade56ef6d7c87e27.tar.bz2 |
Provide a list of gccld optimization switches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/findmisopt')
-rwxr-xr-x | utils/findmisopt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/findmisopt b/utils/findmisopt index cb390aa..955c0c0 100755 --- a/utils/findmisopt +++ b/utils/findmisopt @@ -85,7 +85,10 @@ gcc "$s" -o "$prog" -lstdc++ -lc -lm || exit 1 # Define the list of optimizations to run. This comprises the same set of # optimizations that gccas and gccld run, in the same order. -all_switches="-verify -lowersetjmp -funcresolve -raiseallocs -simplifycfg -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -prune-eh -inline -simplify-libcalls -argpromotion -raise -tailduplicate -simplifycfg -scalarrepl -instcombine -predsimplify -condprop -tailcallelim -simplifycfg -reassociate -licm -loop-unswitch -instcombine -indvars -loop-unroll -instcombine -load-vn -gcse -sccp -instcombine -condprop -dse -dce -simplifycfg -deadtypeelim -constmerge -funcresolve -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -scalarrepl -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplify-cfg -verify" +all_switches="-verify -lowersetjmp -funcresolve -raiseallocs -simplifycfg -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -prune-eh -inline -simplify-libcalls -argpromotion -raise -tailduplicate -simplifycfg -scalarrepl -instcombine -predsimplify -condprop -tailcallelim -simplifycfg -reassociate -licm -loop-unswitch -instcombine -indvars -loop-unroll -instcombine -load-vn -gcse -sccp -instcombine -condprop -dse -dce -simplifycfg -deadtypeelim -constmerge -funcresolve -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -scalarrepl -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplifycfg -verify" +# Here's an alternative list of optimizations comprising just the ones that +# gccld uses. To use, just comment out the line above, and uncomment this one +#all_switches="-funcresolve -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -scalarrepl -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplifycfg -verify" # Current set of switches is empty function tryit { |