[all-commits] [llvm/llvm-project] b76f40: [DAG][AArch64][ARM] Recognize avg (hadd) from wrap...

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 6 09:24:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b76f40c12f46b6ae992540632cb7295446087aca
      https://github.com/llvm/llvm-project/commit/b76f40c12f46b6ae992540632cb7295446087aca
  Author: David Green <david.green at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
    M llvm/test/CodeGen/AArch64/sve2-hadd.ll
    M llvm/test/CodeGen/Thumb2/mve-vhadd.ll

  Log Message:
  -----------
  [DAG][AArch64][ARM] Recognize avg (hadd) from wrapping flags

This slightly extends the creation of hadd nodes to allow them to be generated
with the original type size if wrapping flags allow.
https://alive2.llvm.org/ce/z/bPjakD
https://alive2.llvm.org/ce/z/fa_gzb

Differential Revision: https://reviews.llvm.org/D143371




More information about the All-commits mailing list