Matt Arsenault | b22828f | 2016-01-27 02:17:49 +0000 | [diff] [blame] | 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" | ||||
7 | define 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 |