1 ; RUN: llc < %s -mtriple=i686-linux -asm-verbose | FileCheck %s
2 ; Check that register copies in the landing pad come after the EH_LABEL
6 define i32 @phi(i32 %x) personality ptr @__gxx_personality_v0 {
9 to label %cont unwind label %lpad ; <i32> [#uses=1]
11 cont: ; preds = %entry
13 to label %cont2 unwind label %lpad ; <i32> [#uses=1]
15 cont2: ; preds = %cont
18 lpad: ; preds = %cont, %entry
19 %v = phi i32 [ %x, %entry ], [ %a, %cont ] ; <i32> [#uses=1]
20 %exn = landingpad {ptr, i32}
26 ; CHECK-NEXT: .cfi_def_cfa_offset 16
29 declare i32 @__gxx_personality_v0(...)