summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-08-17 09:43:30 +0200
committerGitHub <noreply@github.com>2024-08-17 09:43:30 +0200
commitcb7614e839148196c53711fdee639e6dff933a8d (patch)
tree6afbb74bf838abea2ae8b7ba691aa8e1326d0482 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
parente6ceb29ab6bb5632cac79e99da4d248e9bb7d378 (diff)
[mlir][Transforms] Dialect conversion: Fix bug in `computeNecessaryMaterializations` (#104630)
There was a typo in the code path that removes unnecessary materializations. Before: Update `opResult` (result of an op different from `user`) in mapping and remove `user`. ``` replaceMaterialization(rewriterImpl, opResult, inputOperands, inverseMapping); necessaryMaterializations.remove(materializationOps.lookup(user)); ``` After: Update `user->getResults()` in mapping and remove `user`. ``` replaceMaterialization(rewriterImpl, user->getResults(), inputOperands, inverseMapping); necessaryMaterializations.remove(materializationOps.lookup(user)); ```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions