[llvm] [InstCombine] Improve coverage of `foldSelectValueEquivalence` for non-constants (PR #94719)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 00:55:40 PDT 2024


https://github.com/nikic requested changes to this pull request.

I don't think this is worth the complication. The only part of this I would consider is the `NewOp == V` case, though I'm having some trouble convincing myself that this really can't lead to a combine loop.

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


More information about the llvm-commits mailing list