[llvm-bugs] [Bug 46848] New: Cleanup: Don't emit DBG_VALUEs after copies in SelectionDAG

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 25 10:48:24 PDT 2020


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

            Bug ID: 46848
           Summary: Cleanup: Don't emit DBG_VALUEs after copies in
                    SelectionDAG
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: tbosch1009 at gmail.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

Currently, SelectionDAG emits DBG_VALUEs after every copy for a parameter.
However, it should be the job of LiveDebugValues::transferRegisterCopy to track
when a copy introduces a backup location for a variable, /not/ the job of the
instruction selector.

For more details, see https://bugs.llvm.org/show_bug.cgi?id=39715#c34 and
following comments.

-- 
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/20200725/59e1001d/attachment-0001.html>


More information about the llvm-bugs mailing list