Add new test cases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-09-14 20:03:04 +00:00
parent 7163447b9d
commit 808b9b6cdf
2 changed files with 22 additions and 0 deletions

8
test/inssel1.ll Normal file
View File

@ -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

14
test/inssel2.ll Normal file
View File

@ -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