mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
R600/SI: Remove some redudant load testcases.
This reduces coverage for Evergreen, since the more complete tests have those run lines disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
781f7ee502
commit
140c2ece1e
@ -52,69 +52,3 @@ define void @anyext_load_lds_i16(i16 addrspace(3)* nocapture noalias %out, i16 a
|
||||
store <2 x i16> %x, <2 x i16> addrspace(3)* %castOut, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}sextload_global_i8_to_i64:
|
||||
; SI: buffer_load_sbyte [[LOAD:v[0-9]+]],
|
||||
; SI: v_ashrrev_i32_e32 v{{[0-9]+}}, 31, [[LOAD]]
|
||||
; SI: buffer_store_dwordx2
|
||||
define void @sextload_global_i8_to_i64(i64 addrspace(1)* %out, i8 addrspace(1)* %in) nounwind {
|
||||
%a = load i8 addrspace(1)* %in, align 8
|
||||
%ext = sext i8 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}sextload_global_i16_to_i64:
|
||||
; SI: buffer_load_sshort [[LOAD:v[0-9]+]],
|
||||
; SI: v_ashrrev_i32_e32 v{{[0-9]+}}, 31, [[LOAD]]
|
||||
; SI: buffer_store_dwordx2
|
||||
define void @sextload_global_i16_to_i64(i64 addrspace(1)* %out, i16 addrspace(1)* %in) nounwind {
|
||||
%a = load i16 addrspace(1)* %in, align 8
|
||||
%ext = sext i16 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}sextload_global_i32_to_i64:
|
||||
; SI: buffer_load_dword [[LOAD:v[0-9]+]],
|
||||
; SI: v_ashrrev_i32_e32 v{{[0-9]+}}, 31, [[LOAD]]
|
||||
; SI: buffer_store_dwordx2
|
||||
define void @sextload_global_i32_to_i64(i64 addrspace(1)* %out, i32 addrspace(1)* %in) nounwind {
|
||||
%a = load i32 addrspace(1)* %in, align 8
|
||||
%ext = sext i32 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i8_to_i64:
|
||||
; SI: buffer_load_ubyte v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i8_to_i64(i64 addrspace(1)* %out, i8 addrspace(1)* %in) nounwind {
|
||||
%a = load i8 addrspace(1)* %in, align 8
|
||||
%ext = zext i8 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i16_to_i64:
|
||||
; SI: buffer_load_ushort v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i16_to_i64(i64 addrspace(1)* %out, i16 addrspace(1)* %in) nounwind {
|
||||
%a = load i16 addrspace(1)* %in, align 8
|
||||
%ext = zext i16 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i32_to_i64:
|
||||
; SI: buffer_load_dword v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i32_to_i64(i64 addrspace(1)* %out, i32 addrspace(1)* %in) nounwind {
|
||||
%a = load i32 addrspace(1)* %in, align 8
|
||||
%ext = zext i32 %a to i64
|
||||
store i64 %ext, i64 addrspace(1)* %out, align 8
|
||||
ret void
|
||||
}
|
||||
|
@ -153,9 +153,9 @@ define void @sextload_global_v64i16_to_v64i32(<64 x i32> addrspace(1)* %out, <64
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i16_to_i64:
|
||||
; SI: buffer_load_ushort [[LOAD:v[0-9]+]],
|
||||
; SI: v_mov_b32_e32 {{v[0-9]+}}, 0{{$}}
|
||||
; SI: buffer_store_dwordx2
|
||||
; SI: buffer_load_ushort v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i16_to_i64(i64 addrspace(1)* %out, i16 addrspace(1)* %in) nounwind {
|
||||
%a = load i16 addrspace(1)* %in
|
||||
%ext = zext i16 %a to i64
|
||||
|
@ -2,10 +2,9 @@
|
||||
; RUN: llc -march=r600 -mcpu=cypress < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i32_to_i64:
|
||||
; SI: buffer_load_dword [[LOAD:v[0-9]+]],
|
||||
; SI: v_mov_b32_e32 {{v[0-9]+}}, 0{{$}}
|
||||
; SI: buffer_store_dwordx2
|
||||
; SI: s_endpgm
|
||||
; SI: buffer_load_dword v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i32_to_i64(i64 addrspace(1)* %out, i32 addrspace(1)* %in) nounwind {
|
||||
%a = load i32 addrspace(1)* %in
|
||||
%ext = zext i32 %a to i64
|
||||
|
@ -150,9 +150,9 @@ define void @sextload_global_v16i8_to_v16i32(<16 x i32> addrspace(1)* %out, <16
|
||||
; }
|
||||
|
||||
; FUNC-LABEL: {{^}}zextload_global_i8_to_i64:
|
||||
; SI: buffer_load_ubyte [[LOAD:v[0-9]+]],
|
||||
; SI: v_mov_b32_e32 {{v[0-9]+}}, 0{{$}}
|
||||
; SI: buffer_store_dwordx2
|
||||
; SI: buffer_load_ubyte v[[LO:[0-9]+]],
|
||||
; SI: v_mov_b32_e32 v[[HI:[0-9]+]], 0{{$}}
|
||||
; SI: buffer_store_dwordx2 v{{\[}}[[LO]]:[[HI]]]
|
||||
define void @zextload_global_i8_to_i64(i64 addrspace(1)* %out, i8 addrspace(1)* %in) nounwind {
|
||||
%a = load i8 addrspace(1)* %in
|
||||
%ext = zext i8 %a to i64
|
||||
|
Loading…
x
Reference in New Issue
Block a user