[all-commits] [llvm/llvm-project] 7c8796: [TTI] Add supportsScalableVectors target hook

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Fri Dec 18 02:59:12 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c8796f9db2c82ea6e3721744a7d98ebf0e77cd3
      https://github.com/llvm/llvm-project/commit/7c8796f9db2c82ea6e3721744a7d98ebf0e77cd3
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h

  Log Message:
  -----------
  [TTI] Add supportsScalableVectors target hook

This is split off from D91718 and adds a new target hook
supportsScalableVectors that can be queried to check if scalable vectors
are supported by the backend. For AArch64 this returns true if SVE is
enabled.

Reviewed By: david-arm

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




More information about the All-commits mailing list