This test fails on ARM. The test shouldn't explicitly specify alignment (and alignment 4 is wrong) and requires hard-float.

llvm-svn: 130875
This commit is contained in:
Galina Kistanova 2011-05-04 21:57:44 +00:00
parent 1fb95c996b
commit e53ae508ec
1 changed files with 4 additions and 4 deletions

View File

@ -1,16 +1,16 @@
; RUN: llc -O1 -march=arm -mattr=+vfp2 < %s | FileCheck %s
; RUN: llc -O1 -march=arm -mattr=+vfp2 -float-abi=hard < %s | FileCheck %s
; pr4939
define void @test(double* %x, double* %y) nounwind {
%1 = load double* %x, align 4
%2 = load double* %y, align 4
%1 = load double* %x
%2 = load double* %y
%3 = fsub double -0.000000e+00, %1
%4 = fcmp ugt double %2, %3
br i1 %4, label %bb1, label %bb2
bb1:
;CHECK: vstrhi.64
store double %1, double* %y, align 4
store double %1, double* %y
br label %bb2
bb2: