[all-commits] [llvm/llvm-project] 01bfe2: [AArch64][SVE] Allow vector of pointers as legal t...

huihzhang via All-commits all-commits at lists.llvm.org
Fri Jul 31 17:30:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 01bfe2e494027e473ba920ef324b1929af16936e
      https://github.com/llvm/llvm-project/commit/01bfe2e494027e473ba920ef324b1929af16936e
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
    M llvm/test/CodeGen/AArch64/sve-masked-ldst-nonext.ll

  Log Message:
  -----------
  [AArch64][SVE] Allow vector of pointers as legal type for masked load/store.

Refer to LangRef http://llvm.org/docs/LangRef.html#llvm-masked-load-intrinsics
'llvm.masked.load/store.*’ intrinsics are overloaded intrinsic, which allow the
load/store data to be a vector of any integer, floating-point or pointer data type.

Therefore, allow pointer data type when checking 'isLegalMaskedLoadStore()'.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list