view test/CodeGen/AMDGPU/hsa-group-segment.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
line wrap: on
line source

; 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: