aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-06-16 15:38:39 -0700
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-06-16 16:57:41 -0700
commit0a07343e34fc84052e6cc54e55654412b0ed01f4 (patch)
tree70b07c13eccc0f09f2b7a24e811e30adfcb53cdc /lldb/source/Commands/CommandObjectGUI.cpp
parent12c90e2e25dfd1d38250055efc21acb42d158912 (diff)
downloadllvm-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