2012-07-02 19:09:46 +00:00
|
|
|
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -disable-fp-elim | not grep "addl .12, %esp"
|
2007-05-07 20:45:20 +00:00
|
|
|
; PR1398
|
|
|
|
|
|
|
|
%struct.S = type { i32, i32 }
|
|
|
|
|
|
|
|
declare void @invokee(%struct.S* sret )
|
|
|
|
|
|
|
|
define void @invoker(%struct.S* %name.0.0) {
|
|
|
|
entry:
|
2011-06-17 03:14:27 +00:00
|
|
|
invoke void @invokee( %struct.S* sret %name.0.0 )
|
2007-05-07 20:45:20 +00:00
|
|
|
to label %return unwind label %return
|
|
|
|
|
|
|
|
return: ; preds = %entry, %entry
|
2011-08-31 21:39:05 +00:00
|
|
|
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
|
|
|
cleanup
|
2007-05-07 20:45:20 +00:00
|
|
|
ret void
|
|
|
|
}
|
2011-08-31 21:39:05 +00:00
|
|
|
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|