diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2025-10-10 13:00:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-10 13:00:40 +0200 |
commit | e26058cefc5c81cf8ce4fbd31eebfe28de1c607c (patch) | |
tree | c16bebfcd78973560b50ae58320c021ccbbe80c9 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | be7f85168df418a97a1206a7bf35a8c314ba8f29 (diff) | |
download | llvm-e26058cefc5c81cf8ce4fbd31eebfe28de1c607c.zip llvm-e26058cefc5c81cf8ce4fbd31eebfe28de1c607c.tar.gz llvm-e26058cefc5c81cf8ce4fbd31eebfe28de1c607c.tar.bz2 |
[AMDGPU] Use reverse iteration in CodeGenPrepare (#145484)
In order to make this easier, I also removed all "removeFromParent"
calls from the visitors, instead adding instructions
to a set of instructions to delete once the function has been visited.
This avoids crashes due to functions deleting their operands. In theory
we could allow functions to delete the
instruction they visited (and only that one) but I think having one
idiom for everything is less error-prone.
Fixes #140219
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions