view test/Verifier/2009-05-29-InvokeResult2.ll @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; 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
}