add some nounwind's.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 22:22:14 +0000 (22:22 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 22:22:14 +0000 (22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119086 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2007-03-24-cntlzd.ll
test/CodeGen/PowerPC/compare-simm.ll
test/CodeGen/PowerPC/rlwimi2.ll
test/CodeGen/PowerPC/stfiwx.ll
test/CodeGen/PowerPC/unsafe-math.ll

index e93395a67ec6d6728c3f8f29a1ee6b0a38a34016..cca9e658ad5fc19fb61af04809fde1db85b00b56 100644 (file)
@@ -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
index 5ba050060fcb842173ce8ab3dbff861a0c4d56ad..92d1dbe902a10e209bc21f48ba0dfa3aae8bfe6a 100644 (file)
@@ -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:
index 59a36555bf86772a5322f17dd6ca5ec6c77326e8..1bee4e03f1b0617009415d8fd2748e3d4a27d3bc 100644 (file)
@@ -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]
index d1c3f5234a26195bf7cc3e38f9cc04fcce1acfec..1ad558c6abc964b5cf9af65499852e1d215de08b 100644 (file)
@@ -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]
index ef9791277dcd1688e61dc117618012e56968ff61..b0bdcc28d28e243ab4d0f42a0884fd5251b9f6df 100644 (file)
@@ -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