Move the personality function from LandingPadInst to Function
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-cmp-branch.ll
index 684647ca948458058edd0de81051eceba81375f0..d7b64ed3a5b889ae651cb676283ce819d6da08aa 100644 (file)
@@ -12,7 +12,7 @@
 
 declare void @bar()
 
-define void @foo(i32 %a, i32 %b) nounwind {
+define void @foo(i32 %a, i32 %b) nounwind personality i32 (...)* @__gxx_personality_v0 {
 entry:
   %q = add i32 %a, 7
   %r = add i32 %b, 9
@@ -26,7 +26,7 @@ true:
 return:
   ret void
 unw:
-  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+  %exn = landingpad {i8*, i32}
             cleanup
   unreachable
 }