From cc45ae3d4995a5e3a3eb6346ec1ab57e9610634f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 Jun 2001 17:00:00 +0000 Subject: [PATCH] inlining can change methods a second time, so don't rerun inliner when testing for differences in optimizations llvm-svn: 12 --- llvm/test/Feature/TestOptimizer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Feature/TestOptimizer.sh b/llvm/test/Feature/TestOptimizer.sh index b34aae2785e2..eecc16347a9a 100755 --- a/llvm/test/Feature/TestOptimizer.sh +++ b/llvm/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]