[llvm] [AArch64] SME implementation for agnostic-ZA functions (PR #120150)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 06:19:58 PST 2024
================
@@ -3252,6 +3287,31 @@ MachineBasicBlock *AArch64TargetLowering::EmitInstrWithCustomInserter(
return EmitInitTPIDR2Object(MI, BB);
case AArch64::AllocateZABuffer:
return EmitAllocateZABuffer(MI, BB);
+ case AArch64::AllocateSMESaveBuffer:
+ return EmitAllocateSMESaveBuffer(MI, BB);
+ case AArch64::GetSMESaveSize: {
+ // If the buffer is used, emit a call to __arm_sme_state_size()
+ MachineFunction *MF = BB->getParent();
----------------
paulwalker-arm wrote:
Any reason for not having a dedicated function like the other opcodes?
https://github.com/llvm/llvm-project/pull/120150
More information about the llvm-commits
mailing list