[PATCH] D60113: [ArgPromotion] Set debug location at updated callsites
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 1 22:42:32 PDT 2019
vsk created this revision.
vsk added reviewers: davide, aprantl, dblaikie.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Set the correct debug location on instructions which load arguments in
preparation for a call to an arg-promoted function.
This prevents location cascade from misattributing the line/scope of one
of these loads to the location of the instruction preceding the call.
https://reviews.llvm.org/D60113
Files:
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/test/Transforms/ArgumentPromotion/dbg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60113.193234.patch
Type: text/x-patch
Size: 4564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190402/75989620/attachment.bin>
More information about the llvm-commits
mailing list