1 ; RUN: llvm-as < %s | llc -march=x86 -asm-verbose | grep -A 1 lpad | grep Llabel
2 ; Check that register copies in the landing pad come after the EH_LABEL
6 define i32 @phi(i32 %x) {
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]