From bec7dcad1425c767ecbbcde917182119c488c586 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 22 May 2002 15:49:14 +0000 Subject: [PATCH] Must run cfgsimplify to eliminate dead blocks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2706 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/SCCP/sccptest.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Transforms/SCCP/sccptest.ll b/test/Transforms/SCCP/sccptest.ll index 7f39b6cc6cd..20361f7d71d 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 -- 2.34.1