[llvm-bugs] [Bug 39726] [DebugInfo at O2][Dexter] Pointer variable location can be dropped despite being live

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 28 09:58:48 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=39726

Jeremy Morse <jeremy.morse.llvm at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jeremy Morse <jeremy.morse.llvm at gmail.com> ---
Yikes, this bug description is hard to read. I must have been in too deep when
writing it,

As far as I understand it, my problem was that the pointer value for "qux" was
available, but we couldn't find the right SDNode when building a SelectionDAG
because it was on the other side of a needless BitCast. And for various reasons
at the time, SelectionDAG wouldn't create DBG_VALUEs for arbitary VRegs

Some time later this [0] landed, which refers to this PR. I've just given the
"reproducer" a few runs and couldn't make it drop "qux", so I think it's fair
to say it's fixed. Thanks for prodding!

[0] https://reviews.llvm.org/D56678

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210128/178adf46/attachment.html>


More information about the llvm-bugs mailing list