Skip to content

Commit 1a4d983

Browse files
[AArch64] Remove an unnecessary cast (NFC) (#147547)
AfterCSRPopSize is already of int64_t.
1 parent d0c1f14 commit 1a4d983

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AArch64/AArch64FrameLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,9 +2563,9 @@ void AArch64FrameLowering::emitEpilogue(MachineFunction &MF,
25632563
.buildDefCFA(AArch64::SP, NumBytes);
25642564

25652565
emitFrameOffset(MBB, MBB.getFirstTerminator(), DL, AArch64::SP, AArch64::SP,
2566-
StackOffset::getFixed(NumBytes + (int64_t)AfterCSRPopSize),
2567-
TII, MachineInstr::FrameDestroy, false, NeedsWinCFI,
2568-
&HasWinCFI, EmitCFI, StackOffset::getFixed(NumBytes));
2566+
StackOffset::getFixed(NumBytes + AfterCSRPopSize), TII,
2567+
MachineInstr::FrameDestroy, false, NeedsWinCFI, &HasWinCFI,
2568+
EmitCFI, StackOffset::getFixed(NumBytes));
25692569
return;
25702570
}
25712571

0 commit comments

Comments
 (0)