================ @@ -2820,6 +2820,22 @@ SDValue DAGCombiner::visitADDLike(SDNode *N) { return SDValue(); } +// Attempt to form avgflooru(A, B) from add(and(A, B), lshr(xor(A, B), 1)) ---------------- Sh0g0-1758 wrote: done. https://github.com/llvm/llvm-project/pull/84903