remove some unneeded eh info.
authorChris Lattner <sabre@nondot.org>
Sat, 27 Jun 2009 04:07:31 +0000 (04:07 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 27 Jun 2009 04:07:31 +0000 (04:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74371 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/x86-64-pic-6.ll
test/CodeGen/X86/x86-64-pic-7.ll
test/CodeGen/X86/x86-64-pic-9.ll

index b8a91f10ea140f7cc515c0626baf56da49088f84..965a550108b265192a28a2804a16f85104bdeb21 100644 (file)
@@ -5,7 +5,7 @@
 
 @a = internal global i32 0
 
-define i32 @get_a() {
+define i32 @get_a() nounwind {
 entry:
        %tmp1 = load i32* @a, align 4
        ret i32 %tmp1
index 63397907716d0824037a6a6bcfb81f8e455863c9..95b7197ff174fb5bf766365bd3702bb947ba212c 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
 ; RUN: grep {movq      f@GOTPCREL(%rip),} %t1
 
-define void ()* @g() {
+define void ()* @g() nounwind {
 entry:
        ret void ()* @f
 }
index eacfcc11d0ae9805c0f2a1cb25f9bb1ebc4c416c..175ec4e5ef95e5d16f2639b2f8c07d84c557b168 100644 (file)
@@ -3,12 +3,12 @@
 ; RUN: grep {leaq      f(%rip),} %t1
 ; RUN: not grep GOTPCREL %t1
 
-define void ()* @g() {
+define void ()* @g() nounwind {
 entry:
        ret void ()* @f
 }
 
-define internal void @f() {
+define internal void @f() nounwind {
 entry:
        ret void
 }