diff options
Diffstat (limited to 'amdgpu')
-rw-r--r-- | amdgpu/lib/SOURCES | 2 | ||||
-rw-r--r-- | amdgpu/lib/workitem/get_group_id.ll | 18 | ||||
-rw-r--r-- | amdgpu/lib/workitem/get_local_id.ll | 18 |
3 files changed, 0 insertions, 38 deletions
diff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES index 7505f3f..0f99fe1 100644 --- a/amdgpu/lib/SOURCES +++ b/amdgpu/lib/SOURCES @@ -3,9 +3,7 @@ math/ldexp.cl math/nextafter.cl math/sqrt.cl workitem/get_num_groups.ll -workitem/get_group_id.ll workitem/get_local_size.ll -workitem/get_local_id.ll workitem/get_global_size.ll workitem/get_work_dim.ll synchronization/barrier.cl diff --git a/amdgpu/lib/workitem/get_group_id.ll b/amdgpu/lib/workitem/get_group_id.ll deleted file mode 100644 index 0dc86e5..0000000 --- a/amdgpu/lib/workitem/get_group_id.ll +++ /dev/null @@ -1,18 +0,0 @@ -declare i32 @llvm.r600.read.tgid.x() nounwind readnone -declare i32 @llvm.r600.read.tgid.y() nounwind readnone -declare i32 @llvm.r600.read.tgid.z() nounwind readnone - -define i32 @get_group_id(i32 %dim) nounwind readnone alwaysinline { - switch i32 %dim, label %default [i32 0, label %x_dim i32 1, label %y_dim i32 2, label %z_dim] -x_dim: - %x = call i32 @llvm.r600.read.tgid.x() nounwind readnone - ret i32 %x -y_dim: - %y = call i32 @llvm.r600.read.tgid.y() nounwind readnone - ret i32 %y -z_dim: - %z = call i32 @llvm.r600.read.tgid.z() nounwind readnone - ret i32 %z -default: - ret i32 0 -} diff --git a/amdgpu/lib/workitem/get_local_id.ll b/amdgpu/lib/workitem/get_local_id.ll deleted file mode 100644 index ac5522a..0000000 --- a/amdgpu/lib/workitem/get_local_id.ll +++ /dev/null @@ -1,18 +0,0 @@ -declare i32 @llvm.r600.read.tidig.x() nounwind readnone -declare i32 @llvm.r600.read.tidig.y() nounwind readnone -declare i32 @llvm.r600.read.tidig.z() nounwind readnone - -define i32 @get_local_id(i32 %dim) nounwind readnone alwaysinline { - switch i32 %dim, label %default [i32 0, label %x_dim i32 1, label %y_dim i32 2, label %z_dim] -x_dim: - %x = call i32 @llvm.r600.read.tidig.x() nounwind readnone - ret i32 %x -y_dim: - %y = call i32 @llvm.r600.read.tidig.y() nounwind readnone - ret i32 %y -z_dim: - %z = call i32 @llvm.r600.read.tidig.z() nounwind readnone - ret i32 %z -default: - ret i32 0 -} |