[llvm] 52c6045 - [RISCV][NFC] Reformat a line of frame lowering code
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 1 06:34:34 PDT 2021
Author: Fraser Cormack
Date: 2021-10-01T14:25:47+01:00
New Revision: 52c60459f5c6822c1d108bed91b9efa3ef053687
URL: https://github.com/llvm/llvm-project/commit/52c60459f5c6822c1d108bed91b9efa3ef053687
DIFF: https://github.com/llvm/llvm-project/commit/52c60459f5c6822c1d108bed91b9efa3ef053687.diff
LOG: [RISCV][NFC] Reformat a line of frame lowering code
Added:
Modified:
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp b/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
index 3c78c6420bca..78d77e4278cc 100644
--- a/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
@@ -767,8 +767,10 @@ RISCVFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI,
// objects to 8 bytes.
if (MFI.getStackID(FI) == TargetStackID::Default) {
if (MFI.isFixedObjectIndex(FI)) {
- Offset += StackOffset::get(MFI.getStackSize() + RVFI->getRVVPadding()
- + RVFI->getLibCallStackSize(), RVFI->getRVVStackSize());
+ Offset +=
+ StackOffset::get(MFI.getStackSize() + RVFI->getRVVPadding() +
+ RVFI->getLibCallStackSize(),
+ RVFI->getRVVStackSize());
} else {
Offset += StackOffset::getFixed(MFI.getStackSize());
}
More information about the llvm-commits
mailing list