diff options
author | Farzon Lotfi <farzonlotfi@microsoft.com> | 2025-08-06 21:14:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 21:14:35 -0400 |
commit | 04672e20d43679db4b13b8f9d19e3a2b748bca4f (patch) | |
tree | 2d8756283b738a4a36ec381fc356c00c3e1e0162 /llvm/lib/Object/Object.cpp | |
parent | 01472d8e357caa10964241ab50b3449014d1be12 (diff) | |
download | llvm-04672e20d43679db4b13b8f9d19e3a2b748bca4f.zip llvm-04672e20d43679db4b13b8f9d19e3a2b748bca4f.tar.gz llvm-04672e20d43679db4b13b8f9d19e3a2b748bca4f.tar.bz2 |
[DirectX] ForwardHandle needs to check if globals were stored on allocas (#151751)
fixes #140819
SROA pass is making it so that some globals get loaded into stack
allocations. This means we find an alloca where we use to expect a load
and now need to walk an alloca -> store -> maybe load chain before we
find the global. Doing so fixes All but two instances of #137715 And
fixes every instance of `Load of "8.sroa.0" is not a global resource
handle we are currently seeing in the DML shaders.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions