Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / CodeGen / X86 / wineh-no-ehpads.ll
blobbc85031555865a469868f67589f8acfb361d1fee
1 ; RUN: llc < %s | FileCheck %s
3 target triple = "x86_64-pc-windows-msvc"
5 declare void @g()
6 declare i32 @__CxxFrameHandler3(...)
8 define void @personality_no_ehpad() personality ptr @__CxxFrameHandler3 {
9   call void @g()
10   ret void
13 ; CHECK-LABEL: personality_no_ehpad: # @personality_no_ehpad
14 ; CHECK-NOT: movq $-2,
15 ; CHECK: callq g
16 ; CHECK: nop
17 ; CHECK: retq
19 ; Shouldn't have any LSDA either.
20 ; CHECK-NOT: cppxdata