[llvm-commits] [llvm] r78568 - in /llvm/trunk/test/CodeGen/ARM: fnmscs.ll fnmuls.ll

Dan Gohman gohman at apple.com
Mon Aug 10 09:48:40 PDT 2009


Author: djg
Date: Mon Aug 10 11:48:40 2009
New Revision: 78568

URL: http://llvm.org/viewvc/llvm-project?rev=78568&view=rev
Log:
Add nounwind keywords.

Modified:
    llvm/trunk/test/CodeGen/ARM/fnmscs.ll
    llvm/trunk/test/CodeGen/ARM/fnmuls.ll

Modified: llvm/trunk/test/CodeGen/ARM/fnmscs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fnmscs.ll?rev=78568&r1=78567&r2=78568&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fnmscs.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fnmscs.ll Mon Aug 10 11:48:40 2009
@@ -5,7 +5,7 @@
 ; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a8 | grep -E {fnmscs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
 ; RUN: llvm-as < %s | llc -march=arm -mcpu=cortex-a9 | grep -E {fnmscs\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
 
-define float @test1(float %acc, float %a, float %b) {
+define float @test1(float %acc, float %a, float %b) nounwind {
 entry:
 	%0 = fmul float %a, %b
 	%1 = fsub float 0.0, %0
@@ -13,7 +13,7 @@
 	ret float %2
 }
 
-define float @test2(float %acc, float %a, float %b) {
+define float @test2(float %acc, float %a, float %b) nounwind {
 entry:
 	%0 = fmul float %a, %b
 	%1 = fmul float -1.0, %0

Modified: llvm/trunk/test/CodeGen/ARM/fnmuls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fnmuls.ll?rev=78568&r1=78567&r2=78568&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fnmuls.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fnmuls.ll Mon Aug 10 11:48:40 2009
@@ -3,14 +3,14 @@
 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,+neonfp | grep -E {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon,-neonfp | grep -E {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
 
-define float @test1(float %a, float %b) {
+define float @test1(float %a, float %b) nounwind {
 entry:
 	%0 = fmul float %a, %b
         %1 = fsub float 0.0, %0
 	ret float %1
 }
 
-define float @test2(float %a, float %b) {
+define float @test2(float %a, float %b) nounwind {
 entry:
 	%0 = fmul float %a, %b
         %1 = fmul float -1.0, %0





More information about the llvm-commits mailing list