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

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 01:54:57 PDT 2023


junaire updated this revision to Diff 510428.
junaire added a comment.

Update aarch64 tests


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147404/new/

https://reviews.llvm.org/D147404

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147404.510428.patch
Type: text/x-patch
Size: 11866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230403/841b0cc8/attachment.bin>


More information about the llvm-commits mailing list