diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-02-09 16:47:13 -0800 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-02-11 11:42:25 -0800 |
commit | cb41ee92dab809b3389de286a51127723a35834d (patch) | |
tree | 9d6ef9300cf343c73db1849c39b18d6f4d38334a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 8151c1b44211d5a7154ca860d28a6aed3a4f2715 (diff) | |
download | llvm-cb41ee92dab809b3389de286a51127723a35834d.zip llvm-cb41ee92dab809b3389de286a51127723a35834d.tar.gz llvm-cb41ee92dab809b3389de286a51127723a35834d.tar.bz2 |
[AMDGPU] Fix promote alloca with double use in a same insn
If we have an instruction where more than one pointer operands
are derived from the same promoted alloca, we are fixing it for
one argument and do not fix a second use considering this user
done.
Fix this by deferring processing of memory intrinsics until all
potential operands are replaced.
Fixes: SWDEV-271358
Differential Revision: https://reviews.llvm.org/D96386
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions