[all-commits] [llvm/llvm-project] eb1e95: [ARM] Extend more reductions during lowering

David Green via All-commits all-commits at lists.llvm.org
Mon Jul 19 00:58:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1e95dbdf2b4ffe94259199d0970d072fe24959
      https://github.com/llvm/llvm-project/commit/eb1e95dbdf2b4ffe94259199d0970d072fe24959
  Author: David Green <david.green at arm.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll

  Log Message:
  -----------
  [ARM] Extend more reductions during lowering

This relaxes the VMLAV and VADDV reduction recognition code to handle
smaller than legal types, extending them as needed. That was already
handled for some reductions, this extends it to more types in a more
generic way. If a smaller than legal value is found it is extended to
the legal type as needed.

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




More information about the All-commits mailing list