1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=aarch64 -mattr=+sme -verify-machineinstrs < %s | FileCheck %s
4 define void @toggle_pstate_za() {
5 ; CHECK-LABEL: toggle_pstate_za:
7 ; CHECK-NEXT: smstart za
8 ; CHECK-NEXT: smstop za
10 call void @llvm.aarch64.sme.za.enable()
11 call void @llvm.aarch64.sme.za.disable()
15 declare void @llvm.aarch64.sme.za.enable()
16 declare void @llvm.aarch64.sme.za.disable()