diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:22:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:22:14 +0000 |
commit | 562762f15f255ea4dee9ef544496e6dfbf45a111 (patch) | |
tree | 965d008b66249b78d835f4a9e1e3f55b4bd07181 /test | |
parent | 6e32851d5b5814b70163f3a9e57183b9e0e8df13 (diff) | |
download | external_llvm-562762f15f255ea4dee9ef544496e6dfbf45a111.zip external_llvm-562762f15f255ea4dee9ef544496e6dfbf45a111.tar.gz external_llvm-562762f15f255ea4dee9ef544496e6dfbf45a111.tar.bz2 |
add some nounwind's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/2007-03-24-cntlzd.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/compare-simm.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/rlwimi2.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/stfiwx.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/unsafe-math.ll | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll b/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll index e93395a..cca9e65 100644 --- a/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll +++ b/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -march=ppc64 -mcpu=g5 | grep cntlzd -define i32 @_ZNK4llvm5APInt17countLeadingZerosEv(i64 *%t) { +define i32 @_ZNK4llvm5APInt17countLeadingZerosEv(i64 *%t) nounwind { %tmp19 = load i64* %t %tmp22 = tail call i64 @llvm.ctlz.i64( i64 %tmp19 ) ; <i64> [#uses=1] %tmp23 = trunc i64 %tmp22 to i32 diff --git a/test/CodeGen/PowerPC/compare-simm.ll b/test/CodeGen/PowerPC/compare-simm.ll index 5ba0500..92d1dbe 100644 --- a/test/CodeGen/PowerPC/compare-simm.ll +++ b/test/CodeGen/PowerPC/compare-simm.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \ ; RUN: grep {cmpwi cr0, r3, -1} -define i32 @test(i32 %x) { +define i32 @test(i32 %x) nounwind { %c = icmp eq i32 %x, -1 br i1 %c, label %T, label %F T: diff --git a/test/CodeGen/PowerPC/rlwimi2.ll b/test/CodeGen/PowerPC/rlwimi2.ll index 59a3655..1bee4e0 100644 --- a/test/CodeGen/PowerPC/rlwimi2.ll +++ b/test/CodeGen/PowerPC/rlwimi2.ll @@ -4,7 +4,7 @@ ; RUN: grep srwi %t | count 1 ; RUN: not grep slwi %t -define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) { +define i16 @test1(i32 %srcA, i32 %srcB, i32 %alpha) nounwind { entry: %tmp.1 = shl i32 %srcA, 15 ; <i32> [#uses=1] %tmp.4 = and i32 %tmp.1, 32505856 ; <i32> [#uses=1] diff --git a/test/CodeGen/PowerPC/stfiwx.ll b/test/CodeGen/PowerPC/stfiwx.ll index d1c3f52..1ad558c 100644 --- a/test/CodeGen/PowerPC/stfiwx.ll +++ b/test/CodeGen/PowerPC/stfiwx.ll @@ -6,13 +6,13 @@ ; RUN: not grep stfiwx %t2 ; RUN: grep r1 %t2 -define void @test(float %a, i32* %b) { +define void @test(float %a, i32* %b) nounwind { %tmp.2 = fptosi float %a to i32 ; <i32> [#uses=1] store i32 %tmp.2, i32* %b ret void } -define void @test2(float %a, i32* %b, i32 %i) { +define void @test2(float %a, i32* %b, i32 %i) nounwind { %tmp.2 = getelementptr i32* %b, i32 1 ; <i32*> [#uses=1] %tmp.5 = getelementptr i32* %b, i32 %i ; <i32*> [#uses=1] %tmp.7 = fptosi float %a to i32 ; <i32> [#uses=3] diff --git a/test/CodeGen/PowerPC/unsafe-math.ll b/test/CodeGen/PowerPC/unsafe-math.ll index ef97912..b0bdcc2 100644 --- a/test/CodeGen/PowerPC/unsafe-math.ll +++ b/test/CodeGen/PowerPC/unsafe-math.ll @@ -2,7 +2,7 @@ ; RUN: llc < %s -march=ppc32 -enable-unsafe-fp-math | \ ; RUN: grep fmul | count 1 -define double @foo(double %X) { +define double @foo(double %X) nounwind { %tmp1 = fmul double %X, 1.23 %tmp2 = fmul double %tmp1, 4.124 ret double %tmp2 |