[all-commits] [llvm/llvm-project] 5eec8d: [AArch64] Add hasSVEorSME() helper and fix some in...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Thu Nov 24 09:58:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5eec8dfc2b663bed7a90199f00277afb208bbd32
      https://github.com/llvm/llvm-project/commit/5eec8dfc2b663bed7a90199f00277afb208bbd32
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h

  Log Message:
  -----------
  [AArch64] Add hasSVEorSME() helper and fix some incorrect checks

This adds a little hasSVEorSME() helper, and as a NFC updates existing
code to use it. The assertions get[Min|Max]SVEVectorSizeInBits() are
also now corrected to use hasSVEorSME() rather than just hasSVE().

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




More information about the All-commits mailing list