Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / X86 / cleanuppad-large-codemodel.ll
blobad07740ac3a5c8191c6102e93631b334b303c5b2
1 ; RUN: llc -mtriple=x86_64-pc-windows-msvc -code-model=large -relocation-model=static -o - < %s | FileCheck %s
3 declare i32 @__CxxFrameHandler3(...)
5 declare void @bar()
7 define void @foo() personality ptr @__CxxFrameHandler3 {
8 entry:
9   invoke void @bar()
10     to label %exit unwind label %cleanup
11 cleanup:
12   %c = cleanuppad within none []
13   call void @bar() [ "funclet"(token %c) ]
14   cleanupret from %c unwind to caller
15 exit:
16   ret void
19 ; CHECK: foo: # @foo
20 ; CHECK: movabsq $bar, %[[reg:[^ ]*]]
21 ; CHECK: callq *%[[reg]]
22 ; CHECK: retq
24 ; CHECK: "?dtor$2@?0?foo@4HA":
25 ; CHECK: movabsq $bar, %[[reg:[^ ]*]]
26 ; CHECK: callq *%[[reg]]
27 ; CHECK: retq                            # CLEANUPRET