projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update more tests to the new EH scheme.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2009-03-13-PHIElimBug.ll
diff --git
a/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
b/test/CodeGen/X86/2009-03-13-PHIElimBug.ll
index 878fa51d5dc31cc38228f331d7cec5039074cf9c..e14c30a27449dddb0dfb6845dcd8a1d3f46b4977 100644
(file)
--- a/
test/CodeGen/X86/2009-03-13-PHIElimBug.ll
+++ b/
test/CodeGen/X86/2009-03-13-PHIElimBug.ll
@@
-1,4
+1,4
@@
-; RUN: llc < %s -m
arch=x86 | grep -A 2 {call.*f} | grep movl
+; RUN: llc < %s -m
triple=i686-linux | FileCheck %s
; Check the register copy comes after the call to f and before the call to g
; PR3784
; Check the register copy comes after the call to f and before the call to g
; PR3784
@@
-24,5
+24,13
@@
cont2: ; preds = %cont
lpad: ; preds = %cont, %entry
%y = phi i32 [ %a, %entry ], [ %aa, %cont ] ; <i32> [#uses=1]
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
}
ret i32 %y
}
+
+; CHECK: call{{.*}}f
+; CHECK: movl %eax, %esi
+; CHECK: call{{.*}}g
+
+declare i32 @__gxx_personality_v0(...)