2014-03-25 16:50:55 +00:00
|
|
|
; XFAIL: *
|
2015-01-06 18:00:21 +00:00
|
|
|
; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=SI < %s | FileCheck -check-prefix=SI %s
|
2015-01-27 17:27:15 +00:00
|
|
|
; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=tonga < %s | FileCheck -check-prefix=SI %s
|
2014-03-25 16:50:55 +00:00
|
|
|
|
|
|
|
; 3 vectors have the same size and alignment as 4 vectors, so this
|
|
|
|
; should be done in a single store.
|
|
|
|
|
2014-10-01 17:15:17 +00:00
|
|
|
; SI-LABEL: {{^}}store_v3i32:
|
2014-11-05 14:50:53 +00:00
|
|
|
; SI: buffer_store_dwordx4
|
2014-03-25 16:50:55 +00: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
|
|
|
|
}
|