Add nounwind to a few tests.
authorDan Gohman <gohman@apple.com>
Mon, 18 May 2009 15:16:49 +0000 (15:16 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 18 May 2009 15:16:49 +0000 (15:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72002 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll
test/CodeGen/ARM/arm-negative-stride.ll
test/CodeGen/ARM/lsr-scale-addr-mode.ll
test/CodeGen/X86/2007-11-06-InstrSched.ll
test/CodeGen/X86/loop-hoist.ll
test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll

index a90c8049027d27e0b712d26329a4faa086022a7d..d8731b69751119180edff3625fec5395e826bbf3 100644 (file)
@@ -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
index 1048fb7ad62c1f07b5d312088704972b859f1289..553c2fb64671062ea9309d4e5428844a4545b981 100644 (file)
@@ -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
index 230cf3e5e72520b281e1ec2d8c4684548bce6f57..6db0d43e8343fa0dd3c2ca4e20dc0f2844f4524d 100644 (file)
@@ -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
index f2542ea5ef5878270f480fa4cf1103272c5e12af..605fb551205b2b2903fd3f8dc8e3c25e9bc43df9 100644 (file)
@@ -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
index 5f0f40ad111c5f60eb24f261758e64fd0c26b19d..73284a488edeb308d8cc747968cf41007efa3e7e 100644 (file)
@@ -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
index f1d018740a6061df38cd3180b5258380714dec3f..7078494a9295c645527d09daec8ddadf4b9c1722 100644 (file)
@@ -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