[llvm] [DAG] fold avgu(zext(x), zext(y)) -> zext(avgu(x, y)) (PR #95134)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 05:01:36 PDT 2024


RKSimon wrote:

> Any plans to do avgs(sext(x), sext(y)) -> sext(avgs(x, y)) ?

IIRC the constraints on that pattern aren't as easy as the unsigned cases.

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


More information about the llvm-commits mailing list