[PATCH] D136862: [AArch64][SME2] Add rudimentary LLVM support for aarch64_svcount.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 10:01:16 PDT 2022


sdesmalen created this revision.
Herald added subscribers: ecnelises, hiraditya, kristof.beyls.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.

The aarch64_svcount opaque type is a scalable type. This patch adds AArch64
CodeGen support such that the type can be passed and returned to/from
functions, and also adds support to use this type in load/store operations
and PHI nodes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136862

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/include/llvm/CodeGen/ValueTypes.h
  llvm/include/llvm/IR/Type.h
  llvm/include/llvm/Support/MachineValueType.h
  llvm/lib/Analysis/Loads.cpp
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/CodeGen/LowLevelType.cpp
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/ValueTypes.cpp
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/Support/LowLevelType.cpp
  llvm/lib/Target/AArch64/AArch64CallingConvention.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.td
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/CodeGen/AArch64/sme-aarch64-svcount-O3.ll
  llvm/test/CodeGen/AArch64/sme-aarch64-svcount.ll
  llvm/test/Transforms/InstCombine/AArch64/sme-svcount.ll
  llvm/test/Transforms/SROA/aarch64-sme-svcount.ll
  llvm/utils/TableGen/CodeGenTarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136862.471203.patch
Type: text/x-patch
Size: 26605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/2e48ca08/attachment-0001.bin>


More information about the llvm-commits mailing list