mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
158622cca3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40072 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
384 B
LLVM
16 lines
384 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -enable-eh -disable-fp-elim | not grep {addl .12, %esp}
|
|
; PR1398
|
|
|
|
%struct.S = type { i32, i32 }
|
|
|
|
declare void @invokee(%struct.S* sret )
|
|
|
|
define void @invoker(%struct.S* %name.0.0) {
|
|
entry:
|
|
invoke void @invokee( %struct.S* %name.0.0 sret )
|
|
to label %return unwind label %return
|
|
|
|
return: ; preds = %entry, %entry
|
|
ret void
|
|
}
|