[all-commits] [llvm/llvm-project] 1b2de7: [RISCV] Use two ADDIs to do some stack pointer adj...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue May 31 10:25:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b2de79ff4b27f3dee342607ee5285d870be08cb
https://github.com/llvm/llvm-project/commit/1b2de79ff4b27f3dee342607ee5285d870be08cb
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-31 (Tue, 31 May 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/emergency-slot.mir
M llvm/test/CodeGen/RISCV/rvv/large-rvv-stack-size.mir
M llvm/test/CodeGen/RISCV/stack-realignment.ll
Log Message:
-----------
[RISCV] Use two ADDIs to do some stack pointer adjustments.
If the adjustment doesn't fit in 12 bits, try to break it into
two 12 bit values before falling back to movImm+add/sub.
This is based on a similar idea from isel.
Reviewed By: luismarques, reames
Differential Revision: https://reviews.llvm.org/D126392
More information about the All-commits
mailing list