[PATCH] D40807: [RISCV] Support stack frames and offsets up to 32-bits

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 14:32:10 PST 2017


asb created this revision.
Herald added subscribers: jordy.potman.lists, simoncook, johnrusso, rbar.

Also, factor out stack pointer manipulation to use the new 'adjustReg' helper function.

I think this is fairly straight-forward, but I'd appreciate an extra pair of eyes just to recheck I'm setting killflags etc appropriately.


https://reviews.llvm.org/D40807

Files:
  lib/Target/RISCV/RISCVFrameLowering.cpp
  lib/Target/RISCV/RISCVFrameLowering.h
  lib/Target/RISCV/RISCVRegisterInfo.cpp
  lib/Target/RISCV/RISCVRegisterInfo.h
  test/CodeGen/RISCV/large-stack.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40807.125420.patch
Type: text/x-patch
Size: 9178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171204/3c501803/attachment.bin>


More information about the llvm-commits mailing list