diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-05-26 11:02:23 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-05-26 11:34:50 -0700 |
commit | 5e2facb922840bfd03eb116eaeead039df021275 (patch) | |
tree | 6cee2d8a4440d2140d8b85ac6c9fa6e3b4d1d56d /llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp | |
parent | 13c6568c6e20ee70aaa8157431e8a3d01be07e81 (diff) | |
download | llvm-5e2facb922840bfd03eb116eaeead039df021275.zip llvm-5e2facb922840bfd03eb116eaeead039df021275.tar.gz llvm-5e2facb922840bfd03eb116eaeead039df021275.tar.bz2 |
[AMDGPU] Fix kernel LDS lowering for constants
There is a trivial but severe bug in the recent code collecting
LDS globals used by kernel. It aborts scan on the first constant
without scanning further uses. That leads to LDS overallocation
with multiple kernels in certain cases.
Differential Revision: https://reviews.llvm.org/D103190
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions