diff options
author | Nikita Popov <npopov@redhat.com> | 2025-08-01 11:06:10 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2025-08-01 11:07:06 +0200 |
commit | 09dc08b707cf70897a7cb47efba19a14798561b3 (patch) | |
tree | 909177165b90fcbd0e6d70a5bf0c6693d726c530 /lldb/unittests/ScriptInterpreter/Python | |
parent | bcbbb2c986e001e9c357df70ed43c9d998ecd6d2 (diff) | |
download | llvm-09dc08b707cf70897a7cb47efba19a14798561b3.zip llvm-09dc08b707cf70897a7cb47efba19a14798561b3.tar.gz llvm-09dc08b707cf70897a7cb47efba19a14798561b3.tar.bz2 |
[InstCombine] Handle repeated users in foldOpIntoPhi()
If the phi is used multiple times in the same user, it will appear
multiple times in users(), in which case make_early_inc_range()
is insufficient to prevent iterator invalidation.
Fixes the issue reported at:
https://github.com/llvm/llvm-project/pull/151115#issuecomment-3141542852
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions