[all-commits] [llvm/llvm-project] aa0a41: [AArch64][SME] Add some SME PSTATE setting/query i...

david-arm via All-commits all-commits at lists.llvm.org
Wed Jun 22 02:27:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa0a413df819f80dbb22ee382dffeaad2e5caa55
      https://github.com/llvm/llvm-project/commit/aa0a413df819f80dbb22ee382dffeaad2e5caa55
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    A llvm/test/CodeGen/AArch64/sme-get-pstatesm.ll
    A llvm/test/CodeGen/AArch64/sme-read-write-tpidr2.ll

  Log Message:
  -----------
  [AArch64][SME] Add some SME PSTATE setting/query intrinsics

This patch adds support for:

* Querying the PSTATE.SM state with @llvm.aarch64.sme.get.pstatesm
* Reading/writing the TPIDR2 register with new
@llvm.aarch64.sme.get.tpidr2 and @llvm.aarch64.sme.set.tpidr2
intrinsics.

Tests added here:

  CodeGen/AArch64/sme-get-pstatesm.ll
  CodeGen/AArch64/sme-read-write-tpidr2.ll

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




More information about the All-commits mailing list