diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-06-17 16:53:04 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-06-17 16:53:04 +0000 |
commit | 8942276a2a2ffc485ed0ea34ad197dc2619aecab (patch) | |
tree | d12c8c1365226d24811abe703eedcdad0f3c7385 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 61d7f97000e8bfe48789b59b1cd778b63b4ded4b (diff) | |
download | llvm-8942276a2a2ffc485ed0ea34ad197dc2619aecab.zip llvm-8942276a2a2ffc485ed0ea34ad197dc2619aecab.tar.gz llvm-8942276a2a2ffc485ed0ea34ad197dc2619aecab.tar.bz2 |
R600/SI: Re-initialize the m0 register after using it for indirect addressing
We need to store a value greater than or equal to the number of LDS
bytes allocated by the shader in the m0 register in order for LDS
instructions to work correctly.
We always initialize m0 at the beginning of a shader, but this register
is also used for indirect addressing offsets, so we need to
re-initialize it any time we use indirect addressing.
llvm-svn: 211107
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions