[InstCombine] Signed saturation patterns
[llvm-core.git] / test / CodeGen / AMDGPU / hsa-default-device.ll
blob45efe9b86557a0d72ef5baa258e0b547c7db494c
1 ; RUN: llc -march=amdgcn -mtriple=amdgcn-unknown-amdhsa < %s | FileCheck %s
3 ; Make sure that with an HSA triple, we don't default to an
4 ; unsupported device.
6 ; CHECK: .hsa_code_object_isa 7,0,0,"AMD","AMDGPU"
7 define 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