mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 22:17:47 +00:00
Don't run bugpoint if we can't find a misoptimization.
llvm-svn: 31582
This commit is contained in:
parent
1d8fddc5b0
commit
872f4226e4
@ -122,9 +122,13 @@ while [ ! -z "$switches" ] ; do
|
||||
echo "Next Loop"
|
||||
done
|
||||
|
||||
echo "Smallest Optimization list= $final"
|
||||
if [ "$final" == " $all_switches" ] ; then
|
||||
echo "findmisopt: Can't find a set of optimizations that make it fail"
|
||||
exit 0
|
||||
fi
|
||||
echo "Smallest Optimization list=$final"
|
||||
bpcmd="bugpoint -run-llc --output "$out" --input /dev/null $bcfile $final --args $args"
|
||||
|
||||
echo "Running: $bpcmd"
|
||||
$bpcmd
|
||||
echo "Finished."
|
||||
echo "findmisopt finished."
|
||||
|
Loading…
Reference in New Issue
Block a user