[all-commits] [llvm/llvm-project] fc1b21: [AArch64][SVE] Add structured load/store opcodes t...

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Thu Feb 17 09:09:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc1b21228e39d63f1a2ab98026d548de66cb3760
      https://github.com/llvm/llvm-project/commit/fc1b21228e39d63f1a2ab98026d548de66cb3760
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    A llvm/test/CodeGen/AArch64/sve-fixed-ld2-alloca.ll
    A llvm/test/CodeGen/AArch64/sve-ldN.mir
    A llvm/test/CodeGen/AArch64/sve-stN.mir

  Log Message:
  -----------
  [AArch64][SVE] Add structured load/store opcodes to getMemOpInfo

Currently, loading from or storing to a stack location with a structured load
or store crashes in isAArch64FrameOffsetLegal as the opcodes are not handled by
getMemOpInfo. This patch adds the opcodes for structured load/store instructions
with an immediate index to getMemOpInfo & getLoadStoreImmIdx, setting appropriate
values for the scale, width & min/max offsets.

Reviewed By: sdesmalen, david-arm

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




More information about the All-commits mailing list