You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
303 B
20 lines
303 B
4 months ago
|
; RUN: not llvm-as < %s >& /dev/null
|
||
|
|
||
|
declare i32 @v()
|
||
|
|
||
|
define i32 @h() {
|
||
|
e:
|
||
|
%s = invoke i32 @v()
|
||
|
to label %c unwind label %u ; <i32> [#uses=2]
|
||
|
|
||
|
c: ; preds = %e
|
||
|
br label %d
|
||
|
|
||
|
d: ; preds = %u, %c
|
||
|
%p = phi i32 [ %s, %c ], [ %s, %u ] ; <i32> [#uses=1]
|
||
|
ret i32 %p
|
||
|
|
||
|
u: ; preds = %e
|
||
|
br label %d
|
||
|
}
|