xref: /aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/hsa-default-device.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s | FileCheck %s
2
3; Make sure that with an HSA triple, we don't default to an
4; unsupported device.
5
6; CHECK: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
7define void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
8  store float 0.0, float addrspace(1)* %out0
9  ret void
10}
11
12