diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-01-17 15:48:01 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-01-24 10:50:49 +0100 |
| commit | e7c9a6cae09d99388d8384ca7c0fb5b24b353975 (patch) | |
| tree | 127d1c924f1a6c08257bad1968522c85273242ea /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp | |
| parent | 4f8fdf78279f0cb298dc0dc215ee56b0342235ee (diff) | |
| download | llvm-e7c9a6cae09d99388d8384ca7c0fb5b24b353975.zip llvm-e7c9a6cae09d99388d8384ca7c0fb5b24b353975.tar.gz llvm-e7c9a6cae09d99388d8384ca7c0fb5b24b353975.tar.bz2 | |
[SDAG] Don't move DBG_VALUE instructions after insertion point during scheduling (PR53243)
EmitSchedule() shouldn't be touching instructions after the provided
insertion point. The change introduced in D83561 performs a scan to
the end of the block, and thus may move unrelated instructions. In
particular, this ends up moving instructions that have been produced
by FastISel and will later be deleted. Moving them means that more
instructions than intended are removed.
Fix this by stopping the iteration when the insertion point is
reached.
Fixes https://github.com/llvm/llvm-project/issues/53243.
Differential Revision: https://reviews.llvm.org/D117489
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
