Unbreak this test case - llvm-as no longer tolerates redefining names in any

given type plane.

llvm-svn: 10169
This commit is contained in:
Brian Gaeke 2003-11-22 06:18:35 +00:00
parent e42b8fd298
commit 8581a625df
1 changed files with 3 additions and 3 deletions

View File

@ -10,15 +10,15 @@ void "testConsts"(int %N, float %X)
begin begin
; <label>:0 ; <label>:0
%a = add int %N, 1 ; 1 should be put in immed field %a = add int %N, 1 ; 1 should be put in immed field
%a2= add int %N, 12345678 ; constant has to be loaded %i = add int %N, 12345678 ; constant has to be loaded
%b = add short 4, 3 ; one of the operands shd be immed %b = add short 4, 3 ; one of the operands shd be immed
%c = add float %X, 0.0 ; will this be optimzzed? %c = add float %X, 0.0 ; will this be optimzzed?
%d = add float %X, 3.1415 ; constant has to be loaded %d = add float %X, 3.1415 ; constant has to be loaded
%f = add uint 4294967295, 10 ; result shd be 9 (not in immed fld) %f = add uint 4294967295, 10 ; result shd be 9 (not in immed fld)
%g = add ushort 20, 65535 ; result shd be 19 (65536 in immed fld) %g = add ushort 20, 65535 ; result shd be 19 (65536 in immed fld)
%g = add ushort 65535, 30 ; result shd be 29 (not in immed fld) %j = add ushort 65535, 30 ; result shd be 29 (not in immed fld)
%h = add ubyte 40, 255 ; result shd be 39 (255 in immed fld) %h = add ubyte 40, 255 ; result shd be 39 (255 in immed fld)
%h = add ubyte 255, 50 ; result shd be 49 (not in immed fld) %k = add ubyte 255, 50 ; result shd be 49 (not in immed fld)
ret void ret void
end end