aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/BlockPlacement
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-11 05:00:27 +0000
committerChris Lattner <sabre@nondot.org>2004-02-11 05:00:27 +0000
commit115e5e6abb1c0afdf4767e258c5175f6167d590d (patch)
tree5f27138a8add9fd2684f11746d401b68bdb26980 /test/Transforms/BlockPlacement
parent206805e172e100ffaa4884e7f918d972c65e35e3 (diff)
Basic functionality testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/BlockPlacement')
-rw-r--r--test/Transforms/BlockPlacement/basictest.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Transforms/BlockPlacement/basictest.ll b/test/Transforms/BlockPlacement/basictest.ll
new file mode 100644
index 0000000000..34db1eeb06
--- /dev/null
+++ b/test/Transforms/BlockPlacement/basictest.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | opt -block-placement -disable-output -print
+
+int %test() {
+
+ br bool true, label %X, label %Y
+A:
+ ret int 0
+X:
+ br label %A
+Y:
+ br label %A
+}