[llvm] [ValueTracking][NFC] Early exit when enumerating guaranteed well-defined/non-poison operands. (PR #82812)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 25 08:39:53 PST 2024


https://github.com/nikic approved this pull request.

This looks fine, though I wonder whether the short-circuiting really plays any significant role here, vs just using the callback based approach that avoids populating a set. Not having to check the callback return value would make this a bit simpler...

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


More information about the llvm-commits mailing list