You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
582 B
13 lines
582 B
; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s
|
|
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s
|
|
|
|
; This tests for a bug that caused a crash in
|
|
; AMDGPUDAGToDAGISel::SelectMUBUFScratch() which is used for selecting
|
|
; scratch loads and stores.
|
|
; CHECK-LABEL: {{^}}store_vector_ptrs:
|
|
define void @store_vector_ptrs(<4 x i32*>* %out, <4 x [1024 x i32]*> %array) nounwind {
|
|
%p = getelementptr [1024 x i32], <4 x [1024 x i32]*> %array, <4 x i16> zeroinitializer, <4 x i16> <i16 16, i16 16, i16 16, i16 16>
|
|
store <4 x i32*> %p, <4 x i32*>* %out
|
|
ret void
|
|
}
|