summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll')
-rw-r--r--test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll b/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll
new file mode 100644
index 0000000000000..912b5ea949da4
--- /dev/null
+++ b/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll
@@ -0,0 +1,10 @@
+; RUN: opt -mtriple=amdgcn--amdhsa -disable-output -disable-verify -debug-pass=Structure -O2 %s 2>&1 | FileCheck -check-prefix=GCN %s
+
+; GCN: Function Integration/Inlining
+; GCN: FunctionPass Manager
+; GCN: Infer address spaces
+; GCN: SROA
+
+define void @empty() {
+ ret void
+}