Add new test cases

llvm-svn: 576
This commit is contained in:
Chris Lattner 2001-09-14 20:03:04 +00:00
parent 95c652b59b
commit 4dcbbd5379
2 changed files with 22 additions and 0 deletions

8
llvm/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
llvm/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