llvm.org GIT mirror llvm / b7a11b5
Fix an unnecessary XFAIL git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112853 91177308-0d34-0410-b5e6-96231b3b80d8 Sandeep Patel 10 years ago
1 changed file(s) with 5 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
None ; XFAIL: *
1 ; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s
2 ; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | FileCheck %s
3 ; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=0 | FileCheck %s
1 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
42 ; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s
53 ; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s
64
7 define float @test1(float %a, float %b) nounwind {
8 ; CHECK: fnmscs s2, s1, s0
5 define arm_aapcs_vfpcc float @test1(float %a, float %b) nounwind {
6 ; CHECK: vnmul.f32 s0, s0, s1
97 entry:
108 %0 = fmul float %a, %b
119 %1 = fsub float -0.0, %0
1210 ret float %1
1311 }
1412
15 define float @test2(float %a, float %b) nounwind {
16 ; CHECK: fnmscs s2, s1, s0
13 define arm_aapcs_vfpcc float @test2(float %a, float %b) nounwind {
14 ; CHECK: vnmul.f32 s0, s0, s1
1715 entry:
1816 %0 = fmul float %a, %b
1917 %1 = fmul float -1.0, %0