From: Chris Lattner Date: Thu, 7 Jun 2001 17:00:00 +0000 (+0000) Subject: inlining can change methods a second time, so don't rerun inliner when testing for X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c42266a8703d4748b81306a3ed2c77cb6f621fa5;p=oota-llvm.git inlining can change methods a second time, so don't rerun inliner when testing for differences in optimizations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Feature/TestOptimizer.sh b/test/Feature/TestOptimizer.sh index b34aae2785e..eecc16347a9 100755 --- a/test/Feature/TestOptimizer.sh +++ b/test/Feature/TestOptimizer.sh @@ -6,7 +6,7 @@ export LD_LIBRARY_PATH ../tools/as/as < $1 | ../tools/opt/opt -q -inline -constprop -dce | ../tools/dis/dis | ../tools/as/as > $1.bc.1 || exit 1 # Should not be able to optimize further! -../tools/opt/opt -q -inline -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2 +../tools/opt/opt -q -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2 diff $1.bc.[12] || exit 3 rm $1.bc.[12]