Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / 2007-05-07-InvokeSRet.ll
1 ; RUN: llc < %s -mtriple=i686-pc-linux-gnu -enable-eh -disable-fp-elim | not grep {addl .12, %esp}
2 ; PR1398
3
4         %struct.S = type { i32, i32 }
5
6 declare void @invokee(%struct.S* sret )
7
8 define void @invoker(%struct.S* %name.0.0) {
9 entry:
10         invoke void @invokee( %struct.S* %name.0.0 sret  )
11                         to label %return unwind label %return
12
13 return:         ; preds = %entry, %entry
14         ret void
15 }