Displaying 3 results from an estimated 3 matches for "f15300b8".
2018 Apr 30
0
[SelectionDAG] DbgValue nodes aren't transferred
For cast instructions, llvm::salvageDebugInfo() simply makes dbg.value point to the source of the cast. Since SelectionDAG already has transferDbgValues which can move dbgvalue to the cast source, I think that we can just call it where the truncate is optimized away.
Thanks,
Sejong
From: aprantl at apple.com <aprantl at apple.com>
Sent: Monday, April 30, 2018 2:59 PM
To: Se Jong Oh
2018 Apr 30
2
[SelectionDAG] DbgValue nodes aren't transferred
> On Apr 30, 2018, at 2:57 PM, Se Jong Oh <sejooh at microsoft.com> wrote:
>
> Thanks! It looks like SelectionDAG::salvageDebugInfo handles only addition with constant.
You can look at llvm::salvageDebugInfo() for examples on how to handle other situations.
-- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Apr 30
1
[SelectionDAG] DbgValue nodes aren't transferred
...only addition with constant.
>
> You can look at llvm::salvageDebugInfo() for examples on how to handle other situations.
>
> -- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180430/f15300b8/attachment.html>