blob: 6c67ed43619d710f051eb26da8ef90be52f23055 [file] [log] [blame]
Matt Arsenaultb7689122013-10-21 20:03:54 +00001; RUN: llc -march=r600 -mcpu=SI < %s | FileCheck %s
2
3define void @use_gep_address_space([1024 x i32] addrspace(3)* %array) nounwind {
4; CHECK-LABEL @use_gep_address_space:
5; CHECK: ADD_I32
6 %p = getelementptr [1024 x i32] addrspace(3)* %array, i16 0, i16 16
7 store i32 99, i32 addrspace(3)* %p
8 ret void
9}
10