summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-26 19:15:25 +0000
committerChris Lattner <sabre@nondot.org>2001-11-26 19:15:25 +0000
commit88a8ddae84fa9570fc912861862df42973bb6218 (patch)
tree62fa3658e77440908c660d47a2d810b86b3c2435
parent7a787227d8a77394c00ceaa1a576bb3c2b1d810c (diff)
downloadbcm5719-llvm-88a8ddae84fa9570fc912861862df42973bb6218.tar.gz
bcm5719-llvm-88a8ddae84fa9570fc912861862df42973bb6218.zip
MAke sure diffs match
llvm-svn: 1386
-rwxr-xr-xllvm/test/Feature/TestOptimizer.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/Feature/TestOptimizer.sh b/llvm/test/Feature/TestOptimizer.sh
index 7e607cc4f85..20a87ddf830 100755
--- a/llvm/test/Feature/TestOptimizer.sh
+++ b/llvm/test/Feature/TestOptimizer.sh
@@ -22,8 +22,9 @@ diff $1.ll.[12] || exit 3
$AS < $1 | $OPT -q -inline -dce -cleangcc -sccp -dce | $DIS | $AS > $1.bc.3 || exit 1
# Should not be able to optimize further!
-#$OPT -q -sccp -dce < $1.bc.3 > $1.bc.4 || exit 2
-
-#diff $1.bc.[34] || exit 3
-rm $1.bc.[123] $1.ll.[12]
+$OPT -q -sccp -dce < $1.bc.3 > $1.bc.4 || exit 2
+$DIS < $1.bc.3 > $1.ll.3 || exit 3
+$DIS < $1.bc.4 > $1.ll.4 || exit 3
+diff $1.ll.[34] || exit 3
+rm $1.bc.[1234] $1.ll.[1234]
OpenPOWER on IntegriCloud