Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [InstCombine] Fix user iterator invalidation in bitcast of phi transform | Nikita Popov | 2020-01-14 | 1 | -8/+5 |
| | | | | | | | | | 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 | ||||
* | [InstCombine] Add test for iterator invalidation bug; NFC | Nikita Popov | 2020-01-14 | 1 | -0/+36 |