summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-28 20:36:49 +0000
committerChris Lattner <sabre@nondot.org>2010-02-28 20:36:49 +0000
commitf70cbb2d6a9d2783d581ef7b5fdefd1b305ce332 (patch)
treee9d1f5533cf523d4ab41e08ac1c16f28f19037ff
parenta248e9cfcf6443430f7579efa83a15c6c1b697b5 (diff)
downloadllvm-f70cbb2d6a9d2783d581ef7b5fdefd1b305ce332.tar.gz
llvm-f70cbb2d6a9d2783d581ef7b5fdefd1b305ce332.tar.bz2
llvm-f70cbb2d6a9d2783d581ef7b5fdefd1b305ce332.tar.xz
add some random nounwinds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97411 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/PowerPC/retaddr.ll2
-rw-r--r--test/CodeGen/X86/store_op_load_fold.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/retaddr.ll b/test/CodeGen/PowerPC/retaddr.ll
index 9f8647d087..cf16b4c26f 100644
--- a/test/CodeGen/PowerPC/retaddr.ll
+++ b/test/CodeGen/PowerPC/retaddr.ll
@@ -4,7 +4,7 @@
target triple = "powerpc-apple-darwin8"
-define void @foo(i8** %X) {
+define void @foo(i8** %X) nounwind {
entry:
%tmp = tail call i8* @llvm.returnaddress( i32 0 ) ; <i8*> [#uses=1]
store i8* %tmp, i8** %X, align 4
diff --git a/test/CodeGen/X86/store_op_load_fold.ll b/test/CodeGen/X86/store_op_load_fold.ll
index 66d0e47c6d..6e47eb397d 100644
--- a/test/CodeGen/X86/store_op_load_fold.ll
+++ b/test/CodeGen/X86/store_op_load_fold.ll
@@ -4,7 +4,7 @@
@X = internal global i16 0 ; <i16*> [#uses=2]
-define void @foo() {
+define void @foo() nounwind {
%tmp.0 = load i16* @X ; <i16> [#uses=1]
%tmp.3 = add i16 %tmp.0, 329 ; <i16> [#uses=1]
store i16 %tmp.3, i16* @X