[llvm] [InstCombine] Fold its select user into select (PR #83405)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 03:47:47 PST 2024


vfdff wrote:

> I think this should be a minor generalization of some existing simplifyWithOpReplaced or foldSelectValueEquivalence style fold.
Thanks, refactor with simplifyWithOpReplaced. (foldSelectValueEquivalence is used for **select + cmp**)


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


More information about the llvm-commits mailing list