[CodeGen] Fix FREM on 32-bit MSVC on x86
[oota-llvm.git] / test / CodeGen / PowerPC / 2007-11-16-landingpad-split.ll
index 34122912349b031228ffa0ca469ea789eee5d284..bd496704890f78b665e6f3e8412632b6ffd826cf 100644 (file)
@@ -19,7 +19,7 @@ target triple = "powerpc64-apple-darwin8"
 ; CHECK: .cfi_endproc
 
 
-define void @Bork(i64 %range.0.0, i64 %range.0.1, i64 %size) {
+define void @Bork(i64 %range.0.0, i64 %range.0.1, i64 %size) personality i32 (...)* @__gxx_personality_v0 {
 entry:
        %effectiveRange = alloca %struct.Range, align 8         ; <%struct.Range*> [#uses=2]
        %tmp4 = call i8* @llvm.stacksave()              ; <i8*> [#uses=1]
@@ -33,7 +33,7 @@ bb30.preheader:               ; preds = %entry
        br label %bb30
 
 unwind:                ; preds = %cond_true, %entry
-        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+        %exn = landingpad {i8*, i32}
                  catch i8* null
        call void @llvm.stackrestore(i8* %tmp4)
         resume { i8*, i32 } %exn