2015-12-03 01:00:42 +08:00
|
|
|
; RUN: llc < %s -mtriple=amdgcn--amdhsa -mcpu=kaveri | FileCheck --check-prefix=HSA %s
|
|
|
|
|
|
|
|
@internal_group = internal addrspace(3) global i32 undef
|
|
|
|
@external_group = addrspace(3) global i32 undef
|
|
|
|
|
2017-03-22 05:39:51 +08:00
|
|
|
define amdgpu_kernel void @test() {
|
2015-12-03 01:00:42 +08:00
|
|
|
entry:
|
|
|
|
store i32 0, i32 addrspace(3)* @internal_group
|
|
|
|
store i32 0, i32 addrspace(3)* @external_group
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; HSA-NOT: internal_group:
|
|
|
|
; HSA-NOT: external_group:
|