[all-commits] [llvm/llvm-project] 0b83e1: [ARM] MVE Gather Scatter cost model tests. NFC

David Green via All-commits all-commits at lists.llvm.org
Wed Jan 22 06:42:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b83e14804c46aaf8ba40863bb6d1a3cf175b997
      https://github.com/llvm/llvm-project/commit/0b83e14804c46aaf8ba40863bb6d1a3cf175b997
  Author: David Green <david.green at arm.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    A llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll

  Log Message:
  -----------
  [ARM] MVE Gather Scatter cost model tests. NFC


  Commit: e9c198278e2193a8ba78686ef8acc49c587dd40e
      https://github.com/llvm/llvm-project/commit/e9c198278e2193a8ba78686ef8acc49c587dd40e
  Author: David Green <david.green at arm.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
    M llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll

  Log Message:
  -----------
  [ARM] Basic gather scatter cost model

This is a very basic MVE gather/scatter cost model, based roughly on the
code that we will currently produce. It does not handle truncating
scatters or extending gathers correctly yet, as it is difficult to tell
that they are going to be correctly extended/truncated from the limited
information in the cost function.

This can be improved as we extend support for these in the future.

Based on code originally written by David Sherwood.

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


Compare: https://github.com/llvm/llvm-project/compare/4cf16efe4976...e9c198278e21


More information about the All-commits mailing list