1; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA %s
2
3@internal_group = internal addrspace(3) global i32 undef
4@external_group = addrspace(3) global i32 undef
5
6define amdgpu_kernel void @test() {
7entry:
8  store i32 0, i32 addrspace(3)* @internal_group
9  store i32 0, i32 addrspace(3)* @external_group
10  ret void
11}
12
13; HSA-NOT: internal_group:
14; HSA-NOT: external_group:
15