]> granicus.if.org Git - llvm/commit
AMDGPU: Fix default range in non-kernel functions
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 23 Oct 2017 17:09:35 +0000 (17:09 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 23 Oct 2017 17:09:35 +0000 (17:09 +0000)
commit367cfd84c37f7535b7f29e40b76eca01e24bcd60
tree642071b682dd9c93beff0e92abfc48567ff3683a
parent8c2358acf3eff5dff47fe893312aca397d649abc
AMDGPU: Fix default range in non-kernel functions

The range should be assumed to be the hardware maximum
if a workitem intrinsic is used in a callable function
which does not know the restricted limit of the calling
kernel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/zext-lid.ll