R600/SI: Add kill flag when copying scratch offset to a register
authorTom Stellard <thomas.stellard@amd.com>
Tue, 20 Jan 2015 17:49:45 +0000 (17:49 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 20 Jan 2015 17:49:45 +0000 (17:49 +0000)
commitad7a884efe8c074a07b52f22d860e715591e0ccc
treeaf06ba2bbdfdeb87bb83d69207081ae5b567433d
parenta978a481bbe66becb01f4955b8e002e6cd59be23
R600/SI: Add kill flag when copying scratch offset to a register

This allows us to re-use the same register for the scratch offset
when accessing large private arrays.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226585 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIRegisterInfo.cpp
test/CodeGen/R600/scratch-buffer.ll