summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll')
-rw-r--r--test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll b/test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll
new file mode 100644
index 000000000000..a1bf987e6552
--- /dev/null
+++ b/test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -march=amdgcn -mcpu=tonga -show-mc-encoding -verify-machineinstrs -global-isel | FileCheck --check-prefix=GCN %s
+
+; REQUIRES: global-isel
+
+; GCN-LABEL: vs_epilog
+; GCN: s_endpgm
+
+define amdgpu_vs void @vs_epilog() {
+main_body:
+ ret void
+}