From 05b7ed23eca10392e90feceac9799fa2650b9de6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 21 May 2002 19:32:58 +0000 Subject: [PATCH] This testcase was very broken! The block could not be merged because then there would be a broken PHI node llvm-svn: 2692 --- .../Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll b/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll index d4a2944ffb9..c1257cd95d2 100644 --- a/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll +++ b/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll @@ -1,9 +1,6 @@ -; Basic block #2 should be merged into BB #3! +; Basic block #2 should not be merged into BB #3! ; -; RUN: if as < %s | opt -dce | dis | grep 'br label' -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -simplifycfg | dis | grep 'br label' ; void "cprop_test12"(int* %data) { bb0: