[PATCH] [DebugInfo][FastISel] Prevent using debug location from previous block for local values
Sergey Dmitrouk
sdmitrouk at accesssoftek.com
Thu May 21 07:08:37 PDT 2015
Thanks to Fred I see that this is basically the same as an old patch (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120917/151433.html) related to the bug of the same age (https://llvm.org/bugs/show_bug.cgi?id=14501), which was unfortunately rejected... Still pulled in Pauls nice test case and added missing changes here. I would prefer to have some kind of fix rather than have obviously wrong locations (provided that we don't make anything worse that it is at the moment).
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9887
Files:
include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
test/DebugInfo/X86/dbg-line-fast-isel.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9887.26239.patch
Type: text/x-patch
Size: 8658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150521/00a6de39/attachment.bin>
More information about the llvm-commits
mailing list