1; RUN: llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa --amdhsa-code-object-version=2 < %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 amdgpu_kernel 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