forked from OSchip/llvm-project
parent
95c652b59b
commit
4dcbbd5379
|
@ -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
|
|
@ -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…
Reference in New Issue