Add nounwind to a few tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-05-18 15:16:49 +00:00
parent 96cd7af935
commit 04623272d2
6 changed files with 6 additions and 6 deletions

View 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

View 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

View 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

View 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

View 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

View 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