diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-06-16 15:38:39 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-06-16 16:57:41 -0700 |
commit | 0a07343e34fc84052e6cc54e55654412b0ed01f4 (patch) | |
tree | 70b07c13eccc0f09f2b7a24e811e30adfcb53cdc /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 12c90e2e25dfd1d38250055efc21acb42d158912 (diff) | |
download | llvm-0a07343e34fc84052e6cc54e55654412b0ed01f4.zip llvm-0a07343e34fc84052e6cc54e55654412b0ed01f4.tar.gz llvm-0a07343e34fc84052e6cc54e55654412b0ed01f4.tar.bz2 |
[AMDGPU] Fixed constexpr expansion to handle multiple uses
Recently added convertConstantExprsToInstructions() does not handle
a case when a same ConstantExpr used multiple times in the same
instruction. A first use is replaced and the rest of the uses in the
instruction are replaced as well with the replaceUsesOfWith(). Then
function attempts to replace a constant already destroyed.
So far this interface is only used by the AMDGPU BE.
Differential Revision: https://reviews.llvm.org/D104425
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions