[llvm] [InstCombine] Fold `(select C, (x bin_op a), x) bin_op b` into `x bin_op select C, (a bin_op b), b` (PR #173511)
Gábor Spaits via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 26 23:45:54 PST 2025
spaits wrote:
Maybe the function name isn't ideal. Something like `foldBinOpSelectBinOp` would maybe be a better name.
https://github.com/llvm/llvm-project/pull/173511
More information about the llvm-commits
mailing list