llvm.org GIT mirror llvm / release_90 test / CodeGen / AMDGPU / gfx902-without-xnack.ll
release_90

Tree @release_90 (Download .tar.gz)

gfx902-without-xnack.ll @release_90raw · history · blame

1
2
3
4
5
6
7
; RUN: llc -march=amdgcn -mtriple=amdgcn-amd-amdhsa -mcpu=gfx902 -mattr=-code-object-v3,-xnack < %s | FileCheck %s

; CHECK: .hsa_code_object_isa 9,0,2,"AMD","AMDGPU"
define amdgpu_kernel void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
  store float 0.0, float addrspace(1)* %out0
  ret void
}