summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2009-03-13-PHIElimBug.ll')
-rw-r--r--test/CodeGen/X86/2009-03-13-PHIElimBug.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-03-13-PHIElimBug.ll b/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
index 45fc26994c..e14c30a274 100644
--- a/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
+++ b/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
@@ -24,9 +24,13 @@ cont2: ; preds = %cont
lpad: ; preds = %cont, %entry
%y = phi i32 [ %a, %entry ], [ %aa, %cont ] ; <i32> [#uses=1]
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret i32 %y
}
; CHECK: call{{.*}}f
; CHECK: movl %eax, %esi
; CHECK: call{{.*}}g
+
+declare i32 @__gxx_personality_v0(...)