Start testing the new cleangcc pass
authorChris Lattner <sabre@nondot.org>
Wed, 31 Oct 2001 06:36:34 +0000 (06:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Oct 2001 06:36:34 +0000 (06:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1067 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/TestOptimizer.sh

index 50729b6251bd6018ac58647afd18fb93228bdf58..7e607cc4f85286734cb5eab7cd7eeaf68ecf250f 100755 (executable)
@@ -18,8 +18,8 @@ $DIS < $1.bc.1 > $1.ll.1 || exit 3
 $DIS < $1.bc.2 > $1.ll.2 || exit 3
 diff $1.ll.[12] || exit 3
 
-# Try out SCCP
-$AS < $1 | $OPT -q -inline -dce -sccp -dce | $DIS | $AS > $1.bc.3 || exit 1
+# Try out SCCP & CleanGCC
+$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