Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Dec 11, 2023
1 parent ae72364 commit 09676d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions llvm/lib/Target/SBF/SBFFrameLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ using namespace llvm;
namespace {

void adjustStackPointer(MachineFunction &MF, MachineBasicBlock &MBB,
MachineBasicBlock::iterator &MBBI,
bool IsSubtract) {
MachineBasicBlock::iterator &MBBI, bool IsSubtract) {
MachineFrameInfo &MFI = MF.getFrameInfo();
int NumBytes = (int)MFI.getStackSize();
if (NumBytes) {
Expand All @@ -32,7 +31,7 @@ void adjustStackPointer(MachineFunction &MF, MachineBasicBlock &MBB,
*static_cast<const SBFInstrInfo *>(MF.getSubtarget().getInstrInfo());
BuildMI(MBB, MBBI, Dl, TII.get(SBF::ADD_ri), SBF::R11)
.addReg(SBF::R11)
.addImm(IsSubtract? -NumBytes : NumBytes);
.addImm(IsSubtract ? -NumBytes : NumBytes);
}
}

Expand Down

0 comments on commit 09676d6

Please sign in to comment.