[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / win64_eh_leaf2.ll
blob584ec198f1b62a962b71b4b6555e14793e62c5ab
1 ; RUN: llc < %s -O1 -mtriple=x86_64-pc-win32 | FileCheck %s
3 ; Neither of these functions need .seh_ directives. We used to crash.
5 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
6 target triple = "x86_64-pc-windows-msvc"
8 declare i32 @__CxxFrameHandler3(...)
10 define void @f1() uwtable nounwind personality ptr @__CxxFrameHandler3 {
11   ret void
14 ; CHECK-LABEL: f1:
15 ; CHECK-NOT: .seh_
17 define void @f2() uwtable {
18   ret void
21 ; CHECK-LABEL: f2:
22 ; CHECK-NOT: .seh_