[llvm] [InstCombine] Fix pointer replacement in `foldSelectValueEquivalence` (PR #161701)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 10:48:41 PDT 2025


antoniofrighetto wrote:

Maybe I'm missing something, but at least from the tests, aren't the three canReplacePointersIfEqual being invoked on the same pointers all the times? Couldn't this be done only once?

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


More information about the llvm-commits mailing list