Update testcase to be legal llvm

llvm-svn: 4057
This commit is contained in:
Chris Lattner 2002-10-07 17:00:53 +00:00
parent 3cfcdc252e
commit d9fdcfcda9
1 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,8 @@
implementation implementation
declare int "printf"(sbyte*, int, float) declare int "printf"(sbyte*, int, float)
int %testissue(int %i, float %x, float %y) {
int "testissue"(int %i, float %x, float %y) br label %bb1
begin
bb1: bb1:
%x1 = mul float %x, %y ;; x1 %x1 = mul float %x, %y ;; x1
%y1 = mul float %y, 0.75 ;; y1 %y1 = mul float %y, 0.75 ;; y1
@ -24,7 +23,6 @@ bb1:
br bool %b, label %bb1, label %bb2 br bool %b, label %bb1, label %bb2
bb2: bb2:
%Msg = cast ulong 0 to sbyte * call int %printf(sbyte* null, int %m1, float %z3)
call int %printf(sbyte* %Msg, int %m1, float %z3)
ret int 0 ret int 0
end end