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: unassignedb...@nondot.org
          Reporter: tbosch1...@gmail.com
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to