[all-commits] [llvm/llvm-project] 6af39d: [RISCV][NFC] Simplify the sp-offset reduction by s...
Yeting Kuo via All-commits
all-commits at lists.llvm.org
Mon Sep 18 20:02:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6af39d914c8377241b44f4e2fdd75b5ffff9c882
https://github.com/llvm/llvm-project/commit/6af39d914c8377241b44f4e2fdd75b5ffff9c882
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Log Message:
-----------
[RISCV][NFC] Simplify the sp-offset reduction by spimm of CM.PUSH/POP. (#66667)
When inserting prolgue/epilogue, we use the spimm of CM.PUSH/POP to
reduce the following offset for sp. Previously, we tried to use the free
space of the push stack to minimize the following sp-offset. But it's
useless, since the free space must be less than 16 and required stack should
be aligned to 16 before/after the adjustment.
More information about the All-commits
mailing list