From 600d006cc764b631482e46baf0b2ba77f2241262 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 27 Jun 2009 04:07:31 +0000 Subject: [PATCH] remove some unneeded eh info. 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 | 2 +- test/CodeGen/X86/x86-64-pic-7.ll | 2 +- test/CodeGen/X86/x86-64-pic-9.ll | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/X86/x86-64-pic-6.ll b/test/CodeGen/X86/x86-64-pic-6.ll index b8a91f10ea1..965a550108b 100644 --- a/test/CodeGen/X86/x86-64-pic-6.ll +++ b/test/CodeGen/X86/x86-64-pic-6.ll @@ -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 diff --git a/test/CodeGen/X86/x86-64-pic-7.ll b/test/CodeGen/X86/x86-64-pic-7.ll index 63397907716..95b7197ff17 100644 --- a/test/CodeGen/X86/x86-64-pic-7.ll +++ b/test/CodeGen/X86/x86-64-pic-7.ll @@ -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 } diff --git a/test/CodeGen/X86/x86-64-pic-9.ll b/test/CodeGen/X86/x86-64-pic-9.ll index eacfcc11d0a..175ec4e5ef9 100644 --- a/test/CodeGen/X86/x86-64-pic-9.ll +++ b/test/CodeGen/X86/x86-64-pic-9.ll @@ -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 }