summaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-22 15:49:14 +0000
committerChris Lattner <sabre@nondot.org>2002-05-22 15:49:14 +0000
commitbec7dcad1425c767ecbbcde917182119c488c586 (patch)
treecf65783f14aba1abccb691c5b69beb06fc35b2bd /test/Transforms/SCCP
parent53eaf1e43144917a33772f41aba0487f411ceffa (diff)
downloadllvm-bec7dcad1425c767ecbbcde917182119c488c586.tar.gz
llvm-bec7dcad1425c767ecbbcde917182119c488c586.tar.bz2
llvm-bec7dcad1425c767ecbbcde917182119c488c586.tar.xz
Must run cfgsimplify to eliminate dead blocks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP')
-rw-r--r--test/Transforms/SCCP/sccptest.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/SCCP/sccptest.ll b/test/Transforms/SCCP/sccptest.ll
index 7f39b6cc6c..20361f7d71 100644
--- a/test/Transforms/SCCP/sccptest.ll
+++ b/test/Transforms/SCCP/sccptest.ll
@@ -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 -constprop -dce | dis | grep BB3
+; RUN: if as < %s | opt -sccp -constprop -dce -cfgsimplify | dis | grep BB3
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi