[PATCH] D69534: [X86] Lower frame references with large offsets

David Greene via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 14:34:26 PDT 2019


greened created this revision.
greened added reviewers: craig.topper, arsenm, kparzysz, pengfei.
Herald added subscribers: llvm-commits, hiraditya, wdng.
Herald added a project: LLVM.

Handle offsets > 32 bits by using the register scavenger to find a register to
hold the large offset and change the frame index reference to use SIB
addressing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69534

Files:
  llvm/lib/Target/X86/X86RegisterInfo.cpp
  llvm/lib/Target/X86/X86RegisterInfo.h
  llvm/test/CodeGen/X86/large-stack-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69534.226751.patch
Type: text/x-patch
Size: 4841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191028/7912c619/attachment.bin>


More information about the llvm-commits mailing list