[all-commits] [llvm/llvm-project] 1af9fc: [ARM] Generate [SU]HADD from ((a + b) >> 1)

Petre-Ionut Tudor via All-commits all-commits at lists.llvm.org
Tue Jul 21 05:22:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1af9fc82132da7c876e8f70c4e986cc9c59010ee
      https://github.com/llvm/llvm-project/commit/1af9fc82132da7c876e8f70c4e986cc9c59010ee
  Author: Petre-Ionut Tudor <petre-ionut.tudor at arm.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/arm64-vhadd.ll

  Log Message:
  -----------
  [ARM] Generate [SU]HADD from ((a + b) >> 1)

Summary:
Teach LLVM to recognize the above pattern, where the operands are
either signed or unsigned types.

Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list