mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
fd55bcd060
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227214 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
568 B
LLVM
13 lines
568 B
LLVM
; 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 <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
|
|
}
|