[PATCH] D39849: [RISCV] Implement prolog and epilog insertion

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 00:28:12 PST 2017


asb added inline comments.


================
Comment at: lib/Target/RISCV/RISCVFrameLowering.cpp:90
+
+  if (!isInt<12>(StackSize)) {
+    report_fatal_error("Stack adjustment won't fit in signed 12-bit immediate");
----------------
sabuasal wrote:
> How should we handle cases where we need a bigger stack?
Handled in a future patch: https://github.com/lowRISC/riscv-llvm/blob/2ebc17dce3c6bce09df2abb86ad208b290eebaee/0028-RISCV-Support-stack-frames-and-offsets-up-to-32-bits.patch


https://reviews.llvm.org/D39849





More information about the llvm-commits mailing list