Skip to content

Commit 9265810

Browse files
committed
Add comment
Change-Id: Ia4b65e49c9007ae6b13a10ce2ea8ee1411036dc0
1 parent f9c0638 commit 9265810

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/AArch64/MachineSMEABIPass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ struct MachineSMEABI : public MachineFunctionPass {
219219
void emitSetupFullZASave(MachineBasicBlock &MBB,
220220
MachineBasicBlock::iterator MBBI,
221221
LiveRegs PhysLiveRegs);
222+
// Emit a "full" ZA save or restore. It is "full" in the sense that this
223+
// function will emit a call to __arm_sme_save or __arm_sme_restore, which
224+
// handles saving and restoring both ZA and ZT0.
222225
void emitFullZASaveRestore(MachineBasicBlock &MBB,
223226
MachineBasicBlock::iterator MBBI,
224227
LiveRegs PhysLiveRegs, bool IsSave);

0 commit comments

Comments
 (0)