Add testcase for register scanveger assertion fix in r72755

(double def due to livevars)

llvm-svn: 73096
This commit is contained in:
Anton Korobeynikov 2009-06-08 22:54:15 +00:00
parent 77d1943637
commit c745132865
1 changed files with 8 additions and 0 deletions

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)