diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-13 23:54:42 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-14 20:38:10 +0100 |
commit | 652cd7c1007aa5a13ad9864fadc939c5710c5199 (patch) | |
tree | 1d37766aea8c5632e572fe80001087a52a63fd77 /lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py | |
parent | fa632340938cc02e03262e1318cb06b34c32f5fe (diff) | |
download | bcm5719-llvm-652cd7c1007aa5a13ad9864fadc939c5710c5199.tar.gz bcm5719-llvm-652cd7c1007aa5a13ad9864fadc939c5710c5199.zip |
[InstCombine] Fix user iterator invalidation in bitcast of phi transform
This fixes the issue encountered in D71164. Instead of using a
range-based for, manually iterate over the users and advance the
iterator beforehand, so we do not skip any users due to iterator
invalidation.
Differential Revision: https://reviews.llvm.org/D72657
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py')
0 files changed, 0 insertions, 0 deletions