Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / CodeGen / X86 / wineh-no-ehpads.ll
blobfd6798f2e08851296d96da9932573a82b4e98d7b
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 i32 (...)* @__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