mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
R600/SI: Add failing test for 3 x i64 vectors.
Stores of <4 x i64> do work (although they do expand to 4 stores instead of 2), but 3 x i64 vectors fail to select. llvm-svn: 200989
This commit is contained in:
parent
9fd4f091dc
commit
accd6717ba
28
test/CodeGen/R600/store-v3.ll
Normal file
28
test/CodeGen/R600/store-v3.ll
Normal file
@ -0,0 +1,28 @@
|
||||
; XFAIL: *
|
||||
; RUN: llc -march=r600 -mcpu=SI < %s | FileCheck -check-prefix=SI
|
||||
|
||||
; SI-LABEL: @global_store_v3i64:
|
||||
; SI: BUFFER_STORE_DWORDX4
|
||||
; SI: BUFFER_STORE_DWORDX4
|
||||
define void @global_store_v3i64(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
||||
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 32
|
||||
ret void
|
||||
}
|
||||
|
||||
; SI-LABEL: @global_store_v3i64_unaligned:
|
||||
define void @global_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
||||
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
; SI-LABEL: @local_store_v3i64:
|
||||
define void @local_store_v3i64(<3 x i64> addrspace(3)* %out, <3 x i64> %x) {
|
||||
store <3 x i64> %x, <3 x i64> addrspace(3)* %out, align 32
|
||||
ret void
|
||||
}
|
||||
|
||||
; SI-LABEL: @local_store_v3i64_unaligned:
|
||||
define void @local_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
||||
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user