llvm.org GIT mirror llvm / df8b1f0
Testcase for PR1398. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36905 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 12 years ago
1 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=x86 -enable-eh -disable-fp-elim | not grep {addl .8, %esp}
1 ; PR1398
2
3 %struct.S = type { i32, i32 }
4
5 declare void @invokee(%struct.S* sret )
6
7 define void @invoker(%struct.S* %name.0.0) {
8 entry:
9 invoke void @invokee( %struct.S* %name.0.0 sret )
10 to label %return unwind label %return
11
12 return: ; preds = %entry, %entry
13 ret void
14 }