mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Don't run bugpoint if we can't find a misoptimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
e4d8f33b0f
commit
dd2b95534f
1 file changed
+6
-2
+6
-2
@@ -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."
|
||||
Reference in new issue
Block a user