Add new test cases
authorChris Lattner <sabre@nondot.org>
Fri, 14 Sep 2001 20:03:04 +0000 (20:03 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Sep 2001 20:03:04 +0000 (20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@576 91177308-0d34-0410-b5e6-96231b3b80d8

test/inssel1.ll [new file with mode: 0644]
test/inssel2.ll [new file with mode: 0644]

diff --git a/test/inssel1.ll b/test/inssel1.ll
new file mode 100644 (file)
index 0000000..58aa634
--- /dev/null
@@ -0,0 +1,8 @@
+implementation
+
+void "foo"(int * %x, int * %y)
+begin
+; <label>:0                                    ;[#uses=0]
+       seteq int * %x, %y              ; <bool>:0      [#uses=0]
+       ret void
+end
diff --git a/test/inssel2.ll b/test/inssel2.ll
new file mode 100644 (file)
index 0000000..e2df8ad
--- /dev/null
@@ -0,0 +1,14 @@
+implementation
+
+void "foo"(int * %x, int * %y)
+begin
+; <label>:0                                    ;[#uses=1]
+       br label %Top
+
+Top:                                   ;[#uses=4]
+       phi int [ 0, %0 ], [ 1, %Top ], [ 2, %Next ]            ; <int>:0       [#uses=0]
+       br bool true, label %Top, label %Next
+
+Next:                                  ;[#uses=2]
+       br label %Top
+end