[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / win64-eh-trailing-statepoint.ll
blobfa49cb80e09807e3dbf7c371f12edf42a7bc657c
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-windows-gnu %s -o - | FileCheck %s
4 define void @foo() gc "statepoint-example" personality ptr @__gxx_personality_seh0 {
5 ; CHECK-LABEL: foo:
6 ; CHECK:       # %bb.0:
7 ; CHECK-NEXT:    subq $40, %rsp
8 ; CHECK-NEXT:    .seh_stackalloc 40
9 ; CHECK-NEXT:    .seh_endprologue
10 ; CHECK-NEXT:    callq raise
11 ; CHECK-NEXT:  .Ltmp0:
12 ; CHECK-NEXT:    int3
13 ; CHECK-NEXT:    .seh_endproc
14     %statepoint_token = call token (i64, i32, ptr, i32, i32, ...) @llvm.experimental.gc.statepoint.p0(i64 2882400000, i32 0, ptr elementtype(void ()) @raise, i32 0, i32 0, i32 0, i32 0)
15     unreachable
18 declare void @raise()
20 declare dso_local i32 @__gxx_personality_seh0(...)
22 declare token @llvm.experimental.gc.statepoint.p0(i64 immarg, i32 immarg, ptr, i32 immarg, i32 immarg, ...)