summaryrefslogtreecommitdiff
path: root/r600/lib/workitem/get_local_size.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-04-10 15:18:12 -0400
committerTom Stellard <thomas.stellard@amd.com>2013-04-10 15:18:12 -0400
commitf66311f8f1fa4590c7e94da9b50ace728aaed1ae (patch)
treee7baf5f40f76195bce6c0fa127847b5c8f822832 /r600/lib/workitem/get_local_size.ll
parent86ade207e7792d39ec7af60a6bc62106e2dd7f3c (diff)
r600: Fix implementations of get_group_id.ll and get_local_size.llbfgminer
Diffstat (limited to 'r600/lib/workitem/get_local_size.ll')
-rw-r--r--r600/lib/workitem/get_local_size.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/r600/lib/workitem/get_local_size.ll b/r600/lib/workitem/get_local_size.ll
index 6a71f75..0a98de6 100644
--- a/r600/lib/workitem/get_local_size.ll
+++ b/r600/lib/workitem/get_local_size.ll
@@ -1,17 +1,17 @@
-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
+declare i32 @llvm.r600.read.local.size.x() nounwind readnone
+declare i32 @llvm.r600.read.local.size.y() nounwind readnone
+declare i32 @llvm.r600.read.local.size.z() nounwind readnone
define i32 @get_local_size(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
+ %x = call i32 @llvm.r600.read.local.size.x() nounwind readnone
ret i32 %x
y_dim:
- %y = call i32 @llvm.r600.read.tgid.y() nounwind readnone
+ %y = call i32 @llvm.r600.read.local.size.y() nounwind readnone
ret i32 %y
z_dim:
- %z = call i32 @llvm.r600.read.tgid.z() nounwind readnone
+ %z = call i32 @llvm.r600.read.local.size.z() nounwind readnone
ret i32 %z
default:
ret i32 0