[libclc] 46/58: amdgpu: Fix default case value for get_local_size
Andreas Boll
aboll-guest at moszumanska.debian.org
Thu Oct 6 08:16:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit 3aa4eea26b7314fda84ed0612ef02986fe5e0846
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Sat Aug 20 04:17:17 2016 +0000
amdgpu: Fix default case value for get_local_size
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@279359 91177308-0d34-0410-b5e6-96231b3b80d8
---
amdgcn/lib/workitem/get_local_size.ll | 2 +-
r600/lib/workitem/get_local_size.ll | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/amdgcn/lib/workitem/get_local_size.ll b/amdgcn/lib/workitem/get_local_size.ll
index 59dd913..a943375 100644
--- a/amdgcn/lib/workitem/get_local_size.ll
+++ b/amdgcn/lib/workitem/get_local_size.ll
@@ -17,5 +17,5 @@ z_dim:
%z.ext = zext i32 %z to i64
ret i64 %z.ext
default:
- unreachable
+ ret i64 1
}
diff --git a/r600/lib/workitem/get_local_size.ll b/r600/lib/workitem/get_local_size.ll
index 136c9c6..92c6d26 100644
--- a/r600/lib/workitem/get_local_size.ll
+++ b/r600/lib/workitem/get_local_size.ll
@@ -14,5 +14,5 @@ z_dim:
%z = call i32 @llvm.r600.read.local.size.z()
ret i32 %z
default:
- unreachable
+ ret i32 1
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list