[PATCH] D13511: [mips] Use correct frame register for DWARF info when dynamically realigning the stack.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 07:24:16 PDT 2015


vkalintiris created this revision.
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: llvm-commits.

This patch overrides TargetFrameLowering::getFrameIndexReference() in order to
specify the correct register when the function needs dynamic stack realignment.
The values returned from this function are used in order to create DW_AT_locations
for DWARF info. These locations would use the wrong registers as it's been
reported in PR25028.

http://reviews.llvm.org/D13511

Files:
  lib/Target/Mips/MipsSEFrameLowering.cpp
  lib/Target/Mips/MipsSEFrameLowering.h
  test/CodeGen/Mips/dynamic-stack-realignment-dwarf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13511.36738.patch
Type: text/x-patch
Size: 9115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/cb192fbf/attachment.bin>


More information about the llvm-commits mailing list