[PATCH] D27688: [framelowering] Skip dbg values when getting next/previous instruction.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 14:43:34 PST 2016
fhahn created this revision.
fhahn added reviewers: mkuper, aprantl, MatzeB.
fhahn added subscribers: llvm-commits, gbedwell.
In mergeSPUpdates, debug values need to be ignored when getting the
previous element, otherwise debug data could have an impact on codegen.
In eliminateCallFramePseudoInstr, debug values after the erased element
could have an impact on codegen and should be skipped.
Closes PR31319 (https://llvm.org/bugs/show_bug.cgi?id=31319)
https://reviews.llvm.org/D27688
Files:
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/frame-lowering-debug-intrinsic-2.ll
test/CodeGen/X86/frame-lowering-debug-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27688.81146.patch
Type: text/x-patch
Size: 5563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161212/cb0c704f/attachment.bin>
More information about the llvm-commits
mailing list