disable some irrelevant eh emission
authorChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 06:26:40 +0000 (06:26 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 06:26:40 +0000 (06:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81200 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/packed_struct.ll

index 2a781e7e546bed361ef79ef61b91c0cdb6fa7e7b..638e48aab7b2f6cb21c465f641f60e5b161b2e33 100644 (file)
@@ -15,7 +15,7 @@ target triple = "i686-pc-linux-gnu"
 @foos = external global %struct.anon           ; <%struct.anon*> [#uses=3]
 @bara = weak global [4 x <{ i32, i8 }>] zeroinitializer                ; <[4 x <{ i32, i8 }>]*> [#uses=2]
 
-define i32 @foo() {
+define i32 @foo() nounwind {
 entry:
        %tmp = load i32* getelementptr (%struct.anon* @foos, i32 0, i32 1)              ; <i32> [#uses=1]
        %tmp3 = load i32* getelementptr (%struct.anon* @foos, i32 0, i32 2)             ; <i32> [#uses=1]
@@ -25,7 +25,7 @@ entry:
        ret i32 %tmp7
 }
 
-define i8 @bar() {
+define i8 @bar() nounwind {
 entry:
        %tmp = load i8* getelementptr ([4 x <{ i32, i8 }>]* @bara, i32 0, i32 0, i32 1)         ; <i8> [#uses=1]
        %tmp4 = load i8* getelementptr ([4 x <{ i32, i8 }>]* @bara, i32 0, i32 3, i32 1)                ; <i8> [#uses=1]