summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll b/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
new file mode 100644
index 00000000000..445e112a301
--- /dev/null
+++ b/llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll
@@ -0,0 +1,8 @@
+; RUN: llc -march=amdgcn -mtriple=amdgcn-amd-amdhsa -mcpu=gfx902 -mattr=-xnack < %s | FileCheck %s
+
+; CHECK: .hsa_code_object_isa 9,0,2,"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
+}
+
OpenPOWER on IntegriCloud