llvm-project
f33f66be - [NFC][RemoveDIs] Always use iterators for inserting PHIs

Commit
1 year ago
[NFC][RemoveDIs] Always use iterators for inserting PHIs It's becoming potentially unsafe to insert a PHI instruction using a plain Instruction pointer. Switch all the remaining sites that create and insert PHIs to use iterators instead. For example, the code in ComplexDeinterleavingPass.cpp is definitely at-risk of mixing PHIs and debug-info.
Author
Committer
Parents
Loading