mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
5f87057393
Differential Revision: https://reviews.llvm.org/D89076
12 lines
406 B
LLVM
12 lines
406 B
LLVM
; RUN: llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa --amdhsa-code-object-version=2 < %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
|
|
}
|
|
|