R600: Begin private memory at the second GPR.
authorTom Stellard <thomas.stellard@amd.com>
Wed, 22 Jan 2014 19:24:19 +0000 (19:24 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 22 Jan 2014 19:24:19 +0000 (19:24 +0000)
commit655ba251b50346262bee125d6fb29bb086a883d2
tree668553976bf6f9224bbf5712edd58d91f60f0280
parent7dd37ae57a00f1c664b9ae0e9451c1717cf5348d
R600: Begin private memory at the second GPR.

This way private memory does not over-write work group information
stored in GPRs 0 and 1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199824 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUFrameLowering.cpp
test/CodeGen/R600/private-memory.ll