[PATCH] D32204: X86FrameLowering: Fix getFrameIndexReference() for fixed objects

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 17:27:36 PDT 2017


MatzeB created this revision.
Herald added a subscriber: mcrosier.

Debug information is calculated with getFrameIndexReference() which was
missing some logic for the fixed object cases (= parameters on the stack).

The respective logic was already present in X86RegisterInfo::eliminateFrameIndex(). I'll submit separate patches to avoid the code duplication!


Repository:
  rL LLVM

https://reviews.llvm.org/D32204

Files:
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86RegisterInfo.h
  test/CodeGen/X86/dbg-baseptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32204.95661.patch
Type: text/x-patch
Size: 5189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170419/b246bcd9/attachment.bin>


More information about the llvm-commits mailing list