2014-03-26 00:50:55 +08:00
|
|
|
; XFAIL: *
|
2015-01-07 02:00:21 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=SI < %s | FileCheck -check-prefix=SI %s
|
2015-01-28 01:27:15 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=tonga < %s | FileCheck -check-prefix=SI %s
|
2014-03-26 00:50:55 +08:00
|
|
|
|
|
|
|
; 3 vectors have the same size and alignment as 4 vectors, so this
|
|
|
|
; should be done in a single store.
|
|
|
|
|
2014-10-02 01:15:17 +08:00
|
|
|
; SI-LABEL: {{^}}store_v3i32:
|
2014-11-05 22:50:53 +08:00
|
|
|
; SI: buffer_store_dwordx4
|
2014-03-26 00:50:55 +08:00
|
|
|
define void @store_v3i32(<3 x i32> addrspace(1)* %out, <3 x i32> %a) nounwind {
|
|
|
|
store <3 x i32> %a, <3 x i32> addrspace(1)* %out, align 16
|
|
|
|
ret void
|
|
|
|
}
|