mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2dd3e1b435
commit
3d55eda9da
@ -10,15 +10,15 @@ void "testConsts"(int %N, float %X)
|
||||
begin
|
||||
; <label>:0
|
||||
%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
|
||||
%c = add float %X, 0.0 ; will this be optimzzed?
|
||||
%d = add float %X, 3.1415 ; constant has to be loaded
|
||||
%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 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 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
|
||||
end
|
||||
|
@ -10,15 +10,15 @@ void "testConsts"(int %N, float %X)
|
||||
begin
|
||||
; <label>:0
|
||||
%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
|
||||
%c = add float %X, 0.0 ; will this be optimzzed?
|
||||
%d = add float %X, 3.1415 ; constant has to be loaded
|
||||
%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 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 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
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user