summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll25
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll b/llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll
deleted file mode 100644
index 4a332f66321..00000000000
--- a/llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll
+++ /dev/null
@@ -1,25 +0,0 @@
-; RUN: opt -S -mtriple=amdgcn-amd- -amdgpu-annotate-kernel-features %s | FileCheck %s
-
-; Two kernels with different values of the uniform-work-group-attribute call the same function
-
-; CHECK: define void @func() #[[FUNC:[0-9]+]] {
-define void @func() #0 {
- ret void
-}
-
-; CHECK: define amdgpu_kernel void @kernel1() #[[KERNEL1:[0-9]+]] {
-define amdgpu_kernel void @kernel1() #1 {
- call void @func()
- ret void
-}
-
-; CHECK: define amdgpu_kernel void @kernel2() #[[FUNC]] {
-define amdgpu_kernel void @kernel2() #2 {
- call void @func()
- ret void
-}
-
-attributes #1 = { "uniform-work-group-size"="true" }
-
-; CHECK: attributes #[[FUNC]] = { "uniform-work-group-size"="false" }
-; CHECK: attributes #[[KERNEL1]] = { "uniform-work-group-size"="true" }
OpenPOWER on IntegriCloud