forked from OSchip/llvm-project
parent
d3295c6a3a
commit
3aaf11fbd4
|
@ -1,7 +1,7 @@
|
|||
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
|
||||
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=VI %s
|
||||
|
||||
; FUNC-LABEL: {{^}}extract_vector_elt_v2i16:
|
||||
; GCN-LABEL: {{^}}extract_vector_elt_v2i16:
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_store_short
|
||||
|
@ -15,7 +15,7 @@ define void @extract_vector_elt_v2i16(i16 addrspace(1)* %out, <2 x i16> %foo) #0
|
|||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}extract_vector_elt_v3i16:
|
||||
; GCN-LABEL: {{^}}extract_vector_elt_v3i16:
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_store_short
|
||||
; GCN: buffer_store_short
|
||||
|
@ -28,7 +28,7 @@ define void @extract_vector_elt_v3i16(i16 addrspace(1)* %out, <3 x i16> %foo) #0
|
|||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}extract_vector_elt_v4i16:
|
||||
; GCN-LABEL: {{^}}extract_vector_elt_v4i16:
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_store_short
|
||||
|
@ -42,8 +42,7 @@ define void @extract_vector_elt_v4i16(i16 addrspace(1)* %out, <4 x i16> %foo) #0
|
|||
ret void
|
||||
}
|
||||
|
||||
|
||||
; FUNC-LABEL: {{^}}dynamic_extract_vector_elt_v3i16:
|
||||
; GCN-LABEL: {{^}}dynamic_extract_vector_elt_v3i16:
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
|
@ -52,7 +51,6 @@ define void @extract_vector_elt_v4i16(i16 addrspace(1)* %out, <4 x i16> %foo) #0
|
|||
; GCN: buffer_store_short
|
||||
; GCN: buffer_store_short
|
||||
|
||||
; GCN: buffer_store_short
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_store_short
|
||||
define void @dynamic_extract_vector_elt_v3i16(i16 addrspace(1)* %out, <3 x i16> %foo, i32 %idx) #0 {
|
||||
|
@ -62,7 +60,7 @@ define void @dynamic_extract_vector_elt_v3i16(i16 addrspace(1)* %out, <3 x i16>
|
|||
ret void
|
||||
}
|
||||
|
||||
; FUNC-LABEL: {{^}}dynamic_extract_vector_elt_v4i16:
|
||||
; GCN-LABEL: {{^}}dynamic_extract_vector_elt_v4i16:
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_load_ushort
|
||||
|
@ -73,7 +71,6 @@ define void @dynamic_extract_vector_elt_v3i16(i16 addrspace(1)* %out, <3 x i16>
|
|||
; GCN: buffer_store_short
|
||||
; GCN: buffer_store_short
|
||||
|
||||
; GCN: buffer_store_short
|
||||
; GCN: buffer_load_ushort
|
||||
; GCN: buffer_store_short
|
||||
define void @dynamic_extract_vector_elt_v4i16(i16 addrspace(1)* %out, <4 x i16> %foo, i32 %idx) #0 {
|
||||
|
|
Loading…
Reference in New Issue