reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
; 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

define amdgpu_kernel void @test() {
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: