[llvm] Add EliminateNewDuplicatePHINodes function. (PR #135179)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 06:15:46 PDT 2025


https://github.com/nikic commented:

I don't like how much code this is duplicating. This will make it hard to improve EliminateDuplicatePHINodes in the future.

I suggested to use this helper because I thought it was going to be simpler, but if this just adds more complexity in the end, I'm totally fine with a simple implementation in SSAUpdaterBulk.

https://github.com/llvm/llvm-project/pull/135179


More information about the llvm-commits mailing list