[all-commits] [llvm/llvm-project] 08fae4: [DAG] fold `avgs(sext(x), sext(y))` -> `sext(avgs(...

c8ef via All-commits all-commits at lists.llvm.org
Fri Jun 14 06:53:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08fae467e4c742e91c8fdff8519718cf2c7c9b0e
      https://github.com/llvm/llvm-project/commit/08fae467e4c742e91c8fdff8519718cf2c7c9b0e
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
    M llvm/test/CodeGen/AArch64/avg.ll

  Log Message:
  -----------
  [DAG] fold `avgs(sext(x), sext(y))` -> `sext(avgs(x, y))` (#95365)

Follow up of #95134.

Context:
https://github.com/llvm/llvm-project/pull/95134#issuecomment-2162825594.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list