mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
f5c2138cf2
llc would hang trying to write output to a full pipe that FileCheck wasn't reading. FileCheck wasn't reading from stdin because it needs a file as a positional argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229157 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
1.0 KiB
LLVM
30 lines
1.0 KiB
LLVM
; XFAIL: *
|
|
; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
|
|
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
|
|
|
|
; 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
|
|
}
|