[llvm] [SelectionDAG] Fold (avg x, 0) -> x >> 1 (PR #85581)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 21:05:28 PDT 2024


jayfoad wrote:

I still don't understand why we need two implementations of "fold (avgfloor x, 0) -> x >> 1" in the same function, so it would be a nack from me. Maybe one of the other reviewers can understand it.

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


More information about the llvm-commits mailing list