1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=aarch64 -mattr=+sme < %s | FileCheck %s
4 define i64 @get_tpidr2_el0() {
5 ; CHECK-LABEL: get_tpidr2_el0:
7 ; CHECK-NEXT: mrs x0, TPIDR2_EL0
9 %res = call i64 @llvm.aarch64.sme.get.tpidr2()
13 define void @set_tpidr2_el0(i64 %v) {
14 ; CHECK-LABEL: set_tpidr2_el0:
16 ; CHECK-NEXT: msr TPIDR2_EL0, x0
18 call void @llvm.aarch64.sme.set.tpidr2(i64 %v)
22 declare i64 @llvm.aarch64.sme.get.tpidr2()
23 declare void @llvm.aarch64.sme.set.tpidr2(i64 %v)