[llvm-commits] [llvm] r78611 - /llvm/trunk/test/CodeGen/ARM/fnmuls.ll
David Goodwin
david_goodwin at apple.com
Mon Aug 10 15:58:08 PDT 2009
Author: david_goodwin
Date: Mon Aug 10 17:58:08 2009
New Revision: 78611
URL: http://llvm.org/viewvc/llvm-project?rev=78611&view=rev
Log:
Fix test.
Modified:
llvm/trunk/test/CodeGen/ARM/fnmuls.ll
Modified: llvm/trunk/test/CodeGen/ARM/fnmuls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fnmuls.ll?rev=78611&r1=78610&r2=78611&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fnmuls.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fnmuls.ll Mon Aug 10 17:58:08 2009
@@ -2,11 +2,13 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 | 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
; 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 -mcpu=cortex-a8 | grep -E {fnmuls\\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 {fnmuls\\W*s\[0-9\]+,\\W*s\[0-9\]+,\\W*s\[0-9\]+} | count 2
define float @test1(float %a, float %b) nounwind {
entry:
%0 = fmul float %a, %b
- %1 = fsub float 0.0, %0
+ %1 = fsub float -0.0, %0
ret float %1
}
More information about the llvm-commits
mailing list