projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4d8f33
)
Don't run bugpoint if we can't find a misoptimization.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 9 Nov 2006 01:47:04 +0000
(
01:47
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 9 Nov 2006 01:47:04 +0000
(
01:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31582
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/findmisopt
patch
|
blob
|
history
diff --git
a/utils/findmisopt
b/utils/findmisopt
index a6033ca88fa9f59578fdaa7d38df4bf69375ca14..dc564849457394a25f3b434fe9c32801ab7a66c1 100755
(executable)
--- a/
utils/findmisopt
+++ b/
utils/findmisopt
@@
-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 "
F
inished."
+echo "
findmisopt f
inished."