[PATCH] D147403: [DAGCombiner] Fold avg(x, x) --> x

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 2 00:20:24 PDT 2023


junaire created this revision.
junaire added reviewers: RKSimon, pengfei.
Herald added subscribers: ecnelises, hiraditya.
Herald added a project: All.
junaire requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Signed-off-by: Jun Zhang <jun at junz.org>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147403

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/X86/avg.ll
  llvm/test/CodeGen/X86/combine-pavg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147403.510309.patch
Type: text/x-patch
Size: 7787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230402/c3e01f31/attachment.bin>


More information about the llvm-commits mailing list