Add testcase for register scanveger assertion fix in r72755

(double def due to livevars)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-06-08 22:54:15 +00:00
parent 0eebf653a7
commit f194b0edc9

View File

@ -0,0 +1,8 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -mattr=+vfp2 -float-abi=hard | grep {fcpys s0, s1}
define float @f(float %z, double %a, float %b) {
%tmp = call float @g(float %b)
ret float %tmp
}
declare float @g(float)