OSDN Git Service

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 b8a91f1..965a550 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 6339790..95b7197 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 eacfcc1..175ec4e 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
 }