mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
f4fe76d46b
invoke results (see the testcases). Tighten up the checking. llvm-svn: 72586
17 lines
255 B
LLVM
17 lines
255 B
LLVM
; RUN: not llvm-as < %s >& /dev/null
|
|
|
|
declare i32 @v()
|
|
|
|
define i32 @g() {
|
|
e:
|
|
%s = invoke i32 @v()
|
|
to label %c unwind label %u ; <i32> [#uses=2]
|
|
|
|
c: ; preds = %e
|
|
ret i32 %s
|
|
|
|
u: ; preds = %e
|
|
%t = phi i32 [ %s, %e ] ; <i32> [#uses=1]
|
|
ret i32 %t
|
|
}
|