X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2Ffindoptdiff;h=7a2eab05d71a54857f629cb336719dde0c9b99c8;hb=96902bf6e3e4386650908541a13e084bceb79850;hp=c283fc628da5956d7e911aae6d48708ab86c03b5;hpb=b1788a341cf0ad05604fdb5ae6b8f2e8c4e83c5c;p=oota-llvm.git diff --git a/utils/findoptdiff b/utils/findoptdiff index c283fc628da..7a2eab05d71 100755 --- a/utils/findoptdiff +++ b/utils/findoptdiff @@ -14,7 +14,7 @@ # second build contains some experimental optimization features that # are suspected of producing a misoptimization. # -# The script takes two bytecode files, one from each build. They are +# The script takes two bitcode files, one from each build. They are # presumed to be a compilation of the same program or program fragment # with the only difference being the builds. # @@ -39,9 +39,9 @@ # llvm2 # is the path to the second llvm build dir # bc1 -# is the bytecode file for the first llvm environment +# is the bitcode file for the first llvm environment # bc2 -# is the bytecode file for the second llvm environment +# is the bitcode file for the second llvm environment # filter1 # is an optional filter for filtering the llvm1 generated assembly # filter2 @@ -70,7 +70,7 @@ dis2="$llvm2/Debug/bin/llvm-dis" opt1="$llvm1/Debug/bin/opt" opt2="$llvm2/Debug/bin/opt" -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" +all_switches="-verify -lowersetjmp -simplifycfg -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -prune-eh -inline -simplify-libcalls -argpromotion -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 -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -scalarrepl -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplifycfg -verify" #counter=0 function tryit {