X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2Ffindmisopt;h=24052209428cf96fec35bcc57aebc6de3a1140dc;hb=9cd407b11c63e3933ef5323fd768f65bcfdd5d01;hp=88f991a634c044c63b71b499b1c860d69cac8d7a;hpb=75338097c786eea1c461e744a2c45af78f56286f;p=oota-llvm.git diff --git a/utils/findmisopt b/utils/findmisopt index 88f991a634c..24052209428 100755 --- a/utils/findmisopt +++ b/utils/findmisopt @@ -74,8 +74,8 @@ echo "Unoptimized program: $prog" echo " Optimized program: $optprog" # Define the list of optimizations to run. This comprises the same set of -# optimizations that opt -std-compile-opts and gccld run, in the same order. -opt_switches=`llvm-as < /dev/null -o - | opt -std-compile-opts -disable-output -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'` +# optimizations that opt -O3 runs, in the same order. +opt_switches=`llvm-as < /dev/null -o - | opt -O3 -disable-output -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'` all_switches="$opt_switches" echo "Passes : $all_switches"