Fix really stupid ARM EHABI info generation bug: we should not emit
[oota-llvm.git] / test / CodeGen / ARM / vfp.ll
index 49a69827bc05325f1e3d738b39858a8d48c903e7..7a4b34f4a3f06a3488806d7e68ac16d44d70804b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=arm -mattr=+vfp2 -disable-post-ra | FileCheck %s
-; RUN: llc < %s -march=arm -mattr=+vfp2 -disable-post-ra -regalloc=basic | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-ios -mattr=+vfp2 -disable-post-ra | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-ios -mattr=+vfp2 -disable-post-ra -regalloc=basic | FileCheck %s
 
 define void @test(float* %P, double* %D) {
        %A = load float* %P             ; <float> [#uses=1]
@@ -17,11 +17,11 @@ define void @test_abs(float* %P, double* %D) {
 ;CHECK: test_abs:
        %a = load float* %P             ; <float> [#uses=1]
 ;CHECK: vabs.f32
-       %b = call float @fabsf( float %a )              ; <float> [#uses=1]
+       %b = call float @fabsf( float %a ) readnone     ; <float> [#uses=1]
        store float %b, float* %P
        %A = load double* %D            ; <double> [#uses=1]
 ;CHECK: vabs.f64
-       %B = call double @fabs( double %A )             ; <double> [#uses=1]
+       %B = call double @fabs( double %A ) readnone    ; <double> [#uses=1]
        store double %B, double* %D
        ret void
 }