aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-18 15:16:49 +0000
committerDan Gohman <gohman@apple.com>2009-05-18 15:16:49 +0000
commit04623272d29aa15b913f53748516b206d60c0f29 (patch)
tree5efa795c8c23ccf4166b600b77cdb4fd2ba8caf4
parent96cd7af935dd2813e66335a76c4715ced5a36cec (diff)
Add nounwind to a few tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72002 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll2
-rw-r--r--test/CodeGen/ARM/arm-negative-stride.ll2
-rw-r--r--test/CodeGen/ARM/lsr-scale-addr-mode.ll2
-rw-r--r--test/CodeGen/X86/2007-11-06-InstrSched.ll2
-rw-r--r--test/CodeGen/X86/loop-hoist.ll2
-rw-r--r--test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll2
6 files changed, 6 insertions, 6 deletions
diff --git a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
index a90c804902..d8731b6975 100644
--- a/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
+++ b/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
@@ -3,7 +3,7 @@
; RUN: grep -F "backedge-taken count is (-2147483632 + (2147483632 smax (-1 + (-1 * %x)) smax (-1 + (-1 * %y))))"
; PR2607
-define i32 @b(i32 %x, i32 %y) {
+define i32 @b(i32 %x, i32 %y) nounwind {
entry:
%cmp2 = icmp slt i32 %y, %x
%cond3 = select i1 %cmp2, i32 %y, i32 %x
diff --git a/test/CodeGen/ARM/arm-negative-stride.ll b/test/CodeGen/ARM/arm-negative-stride.ll
index 1048fb7ad6..553c2fb646 100644
--- a/test/CodeGen/ARM/arm-negative-stride.ll
+++ b/test/CodeGen/ARM/arm-negative-stride.ll
@@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -march=arm | grep {str r1, \\\[r.*, -r.*, lsl #2\}
-define void @test(i32* %P, i32 %A, i32 %i) {
+define void @test(i32* %P, i32 %A, i32 %i) nounwind {
entry:
icmp eq i32 %i, 0 ; <i1>:0 [#uses=1]
br i1 %0, label %return, label %bb
diff --git a/test/CodeGen/ARM/lsr-scale-addr-mode.ll b/test/CodeGen/ARM/lsr-scale-addr-mode.ll
index 230cf3e5e7..6db0d43e83 100644
--- a/test/CodeGen/ARM/lsr-scale-addr-mode.ll
+++ b/test/CodeGen/ARM/lsr-scale-addr-mode.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=arm | grep -F {str r2, \[r0, +r3, lsl #2\]}
; Should use scaled addressing mode.
-define void @sintzero(i32* %a) {
+define void @sintzero(i32* %a) nounwind {
entry:
store i32 0, i32* %a
br label %cond_next
diff --git a/test/CodeGen/X86/2007-11-06-InstrSched.ll b/test/CodeGen/X86/2007-11-06-InstrSched.ll
index f2542ea5ef..605fb55120 100644
--- a/test/CodeGen/X86/2007-11-06-InstrSched.ll
+++ b/test/CodeGen/X86/2007-11-06-InstrSched.ll
@@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep lea
-define float @foo(i32* %x, float* %y, i32 %c) {
+define float @foo(i32* %x, float* %y, i32 %c) nounwind {
entry:
%tmp2132 = icmp eq i32 %c, 0 ; <i1> [#uses=1]
br i1 %tmp2132, label %bb23, label %bb18
diff --git a/test/CodeGen/X86/loop-hoist.ll b/test/CodeGen/X86/loop-hoist.ll
index 5f0f40ad11..73284a488e 100644
--- a/test/CodeGen/X86/loop-hoist.ll
+++ b/test/CodeGen/X86/loop-hoist.ll
@@ -8,7 +8,7 @@
@Arr = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
-define void @foo(i32 %N.in, i32 %x) {
+define void @foo(i32 %N.in, i32 %x) nounwind {
entry:
%N = bitcast i32 %N.in to i32 ; <i32> [#uses=1]
br label %cond_true
diff --git a/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll b/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll
index f1d018740a..7078494a92 100644
--- a/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll
+++ b/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86-64 | grep {(%rdi,%rax,8)}
; RUN: llvm-as < %s | llc -march=x86-64 | not grep {addq.*8}
-define void @foo(double* %y) {
+define void @foo(double* %y) nounwind {
entry:
br label %bb