64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
12 lines
375 B
LLVM
12 lines
375 B
LLVM
; RUN: llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s | FileCheck %s
|
|
|
|
; Make sure that with an HSA triple, we don't default to an
|
|
; unsupported device.
|
|
|
|
; CHECK: .hsa_code_object_isa 7,0,0,"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
|
|
}
|
|
|