14 lines · plain
1; RUN: llc -mtriple=amdgcn-unknown-amdhsa < %s | FileCheck %s2 3; Make sure that with an HSA triple, we don't default to an4; unsupported device.5 6; CHECK: .amdgcn_target "amdgcn-unknown-amdhsa--gfx700"7define amdgpu_kernel void @test_kernel(ptr addrspace(1) %out0, ptr addrspace(1) %out1) nounwind {8 store float 0.0, ptr addrspace(1) %out09 ret void10}11 12!llvm.module.flags = !{!0}13!0 = !{i32 1, !"amdhsa_code_object_version", i32 400}14