[llvm] [Transforms] Speed up SSAUpdater::FindExistingPHI (PR #100281)

David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 09:12:26 PDT 2024


https://github.com/david-xl commented:

is it better to use RAII idiom for this (using a dtor of a block scoped object to do the cleanup)? A matching status can be be set to false at the start of the for loop and set to true at the end of the loop.

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


More information about the llvm-commits mailing list