Author: Kazushi (Jam) Marukawa Date: 2020-12-01T02:56:16+09:00 New Revision: 3d872cbc2fd3d7ff43b1058da03a91bea51414c7
URL: https://github.com/llvm/llvm-project/commit/3d872cbc2fd3d7ff43b1058da03a91bea51414c7 DIFF: https://github.com/llvm/llvm-project/commit/3d872cbc2fd3d7ff43b1058da03a91bea51414c7.diff LOG: [VE][NFC] Update comments Update comments. I forgot to update it previously when I modified code. Added: Modified: llvm/lib/Target/VE/VEFrameLowering.cpp Removed: ################################################################################ diff --git a/llvm/lib/Target/VE/VEFrameLowering.cpp b/llvm/lib/Target/VE/VEFrameLowering.cpp index 7042068f1154..9e97d0eca833 100644 --- a/llvm/lib/Target/VE/VEFrameLowering.cpp +++ b/llvm/lib/Target/VE/VEFrameLowering.cpp @@ -493,8 +493,8 @@ void VEFrameLowering::determineCalleeSaves(MachineFunction &MF, RegScavenger *RS) const { TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); - // Functions having BP or stack objects need to emit prologue and epilogue - // to allocate local buffer on the stack. + // Functions having BP need to emit prologue and epilogue to allocate local + // buffer on the stack even if the function is a leaf function. if (isLeafProc(MF) && !hasBP(MF)) { VEMachineFunctionInfo *FuncInfo = MF.getInfo<VEMachineFunctionInfo>(); FuncInfo->setLeafProc(true); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits