Skip to content

Commit 2fefa58

Browse files
committed
Move a comment
1 parent ac1dc21 commit 2fefa58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/PrologEpilogInserter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ void PEIImpl::calculateFrameObjectOffsets(MachineFunction &MF) {
918918
if (!MFI.isCalleeSavedObjectIndex(FI) ||
919919
MFI.getStackID(FI) != TargetStackID::Default)
920920
continue;
921+
// TODO: should we be using MFI.isDeadObjectIndex(FI) here?
921922
AdjustStackOffset(MFI, FI, StackGrowsDown, Offset, MaxAlign);
922923
}
923924
} else {
@@ -928,7 +929,6 @@ void PEIImpl::calculateFrameObjectOffsets(MachineFunction &MF) {
928929
MFI.getStackID(FI) != TargetStackID::Default)
929930
continue;
930931

931-
// TODO: should this just be if (MFI.isDeadObjectIndex(FI))
932932
if (MFI.isDeadObjectIndex(FI))
933933
continue;
934934

0 commit comments

Comments
 (0)