[all-commits] [llvm/llvm-project] f19259: [AArch64] Generate dot for v16i8 sum reduction to i32

David Green via All-commits all-commits at lists.llvm.org
Fri Oct 2 09:17:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f192594956281744f67c4535bf2cce922f155aff
      https://github.com/llvm/llvm-project/commit/f192594956281744f67c4535bf2cce922f155aff
  Author: Vinay Madhusudan <vinay at compilertree.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neon-dot-product.ll

  Log Message:
  -----------
  [AArch64] Generate dot for v16i8 sum reduction to i32

Convert VECREDUCE_ADD( EXTEND(v16i8_type) ) to VECREDUCE_ADD( DOTv16i8(v16i8_type) ) whenever the result type is i32. This gains in one of the SPECCPU 2017 benchmark.

This partially solves the bug: https://bugs.llvm.org/show_bug.cgi?id=46888
Meta ticket: https://bugs.llvm.org/show_bug.cgi?id=46929

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




More information about the All-commits mailing list