Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / X86 / personality_size.ll
blob1130d7913e2d447e8617b30ed3b08e09d66a9d2a
1 ; RUN: llc < %s -relocation-model=pic -mtriple=x86_64-pc-solaris2.11 | FileCheck %s -check-prefix=X64
2 ; RUN: llc < %s -relocation-model=pic -mtriple=i386-pc-solaris2.11 | FileCheck %s -check-prefix=X32
3 ; PR1632
5 define void @_Z1fv() personality ptr @__gxx_personality_v0 {
6 entry:
7   invoke void @_Z1gv()
8           to label %return unwind label %unwind
10 unwind:                                           ; preds = %entry
11   %exn = landingpad {ptr, i32}
12             cleanup
13   ret void
15 return:                                           ; preds = %eh_then, %entry
16   ret void
19 declare void @_Z1gv()
21 declare i32 @__gxx_personality_v0(...)
23 ; X64:      .size       DW.ref.__gxx_personality_v0, 8
24 ; X64:      .quad       __gxx_personality_v0
26 ; X32:      .size       DW.ref.__gxx_personality_v0, 4
27 ; X32:      .long       __gxx_personality_v0