1 ; RUN: llc < %s | FileCheck %s
3 target triple = "i686--windows-msvc"
5 declare { ptr, i32 } @param2_ret2(i32, i32)
6 declare i32 @__CxxFrameHandler3(...)
9 define void @test_reserved_regs() minsize optsize personality ptr @__CxxFrameHandler3 {
10 ; CHECK-LABEL: test_reserved_regs:
11 ; CHECK: calll _param2_ret2
12 ; CHECK-NEXT: popl %ecx
13 ; CHECK-NEXT: popl %edi
17 %0 = invoke { ptr, i32 } @param2_ret2(i32 0, i32 1)
18 to label %out unwind label %cleanup
24 %cp = cleanuppad within none []
25 cleanupret from %cp unwind to caller