Add const prop pass to eliminate dead branches
authorChris Lattner <sabre@nondot.org>
Fri, 3 May 2002 19:57:16 +0000 (19:57 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 May 2002 19:57:16 +0000 (19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2456 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SCCP/sccptest.ll

index c4eff5e342522205e61473be641b60c6a8c6852d..7f39b6cc6cd1e5657a70ba06d6e32fe1eee39571 100644 (file)
@@ -1,7 +1,7 @@
 ; This is the test case taken from appel's book that illustrates a hard case
 ; that SCCP gets right. BB3 should be completely eliminated.
 ;
-; RUN: if as < %s | opt -sccp -dce | dis | grep BB3
+; RUN: if as < %s | opt -sccp -constprop -dce | dis | grep BB3
 ; RUN: then exit 1
 ; RUN: else exit 0
 ; RUN: fi