]> granicus.if.org Git - llvm/commit
Merging r242433:
authorHans Wennborg <hans@hanshq.net>
Mon, 20 Jul 2015 16:41:33 +0000 (16:41 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 20 Jul 2015 16:41:33 +0000 (16:41 +0000)
commit233a49cc75998606823b599c674c89fcfd148c99
tree21d10cba2e1831135cf58067bd7ddba65f7e1d3a
parent84e40c817b8cb3a35e807ef0f0978cac94eca983
Merging r242433:
------------------------------------------------------------------------
r242433 | tstellar | 2015-07-16 12:40:07 -0700 (Thu, 16 Jul 2015) | 11 lines

AMDPGU/SI: Use AssertZext node to mask high bit for scratch offsets

Summary:
We can safely assume that the high bit of scratch offsets will never
be set, because this would require at least 128 GB of GPU memory.

Reviewers: arsenm

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11225
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@242683 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIISelLowering.cpp