mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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:
parent
7163447b9d
commit
808b9b6cdf
8
test/inssel1.ll
Normal file
8
test/inssel1.ll
Normal 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
14
test/inssel2.ll
Normal 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
|
Loading…
x
Reference in New Issue
Block a user