2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s
|
2007-02-26 05:43:21 +08:00
|
|
|
|
|
|
|
; PR1224
|
|
|
|
|
|
|
|
declare i32 @test()
|
2015-06-18 04:52:32 +08:00
|
|
|
define i32 @test2() personality i32 (...)* @__gxx_personality_v0 {
|
2007-02-26 05:43:21 +08:00
|
|
|
%A = invoke i32 @test() to label %invcont unwind label %blat
|
|
|
|
invcont:
|
|
|
|
ret i32 %A
|
|
|
|
blat:
|
2015-06-18 04:52:32 +08:00
|
|
|
%lpad = landingpad { i8*, i32 }
|
2011-08-26 07:48:37 +08:00
|
|
|
cleanup
|
|
|
|
ret i32 0
|
2007-02-26 05:43:21 +08:00
|
|
|
}
|
2011-08-26 07:48:37 +08:00
|
|
|
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|