From 67dad63de642cb4d94928eae5d3568268e3398bd Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Thu, 31 Jan 2013 01:04:23 +0000 Subject: Filecheckized 2x tests in SimplifyCFG and removed their date prefix to fit with current llvm style for test names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174011 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../SimplifyCFG/2002-05-05-EmptyBlockMerge.ll | 22 ---------------------- test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll | 14 -------------- test/Transforms/SimplifyCFG/EmptyBlockMerge.ll | 21 +++++++++++++++++++++ test/Transforms/SimplifyCFG/PHINode.ll | 15 +++++++++++++++ 4 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll delete mode 100644 test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll create mode 100644 test/Transforms/SimplifyCFG/EmptyBlockMerge.ll create mode 100644 test/Transforms/SimplifyCFG/PHINode.ll (limited to 'test/Transforms') diff --git a/test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll b/test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll deleted file mode 100644 index feffb4e4c8..0000000000 --- a/test/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll +++ /dev/null @@ -1,22 +0,0 @@ -; Basic block #2 should not be merged into BB #3! -; -; RUN: opt < %s -simplifycfg -S | \ -; RUN: grep "br label" -; - -declare void @foo() - -define void @cprop_test12(i32* %data) { -bb0: - %reg108 = load i32* %data ; [#uses=2] - %cond218 = icmp ne i32 %reg108, 5 ; [#uses=1] - br i1 %cond218, label %bb3, label %bb2 -bb2: ; preds = %bb0 - call void @foo( ) - br label %bb3 -bb3: ; preds = %bb2, %bb0 - %reg117 = phi i32 [ 110, %bb2 ], [ %reg108, %bb0 ] ; [#uses=1] - store i32 %reg117, i32* %data - ret void -} - diff --git a/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll b/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll deleted file mode 100644 index 88f32bc082..0000000000 --- a/test/Transforms/SimplifyCFG/2002-06-24-PHINode.ll +++ /dev/null @@ -1,14 +0,0 @@ -; -simplifycfg is not folding blocks if there is a PHI node involved. This -; should be fixed eventually - -; RUN: opt < %s -simplifycfg -S | not grep br - -define i32 @main(i32 %argc) { -;