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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Galina Kistanova 2011-05-04 21:57:44 +00:00
parent 6a0ce750f7
commit ff4f6eaf4e

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: