[LLVMbugs] [Bug 9817] New: DAG Combiner does not preserve debug information

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 29 15:55:12 PDT 2011


           Summary: DAG Combiner does not preserve debug information
           Product: libraries
           Version: 2.7
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: micah.villmow at amd.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6514)
 --> (http://llvm.org/bugs/attachment.cgi?id=6514)
Patch that copies debug information to new nodes if it existed in the
pre-combined node.

The optimizations in DAG combiner does not preserve debug information. A single
example is in Bug9816. 
I've attached a proposed patch.t I'm not sure it works for all cases as copying
the debug information over might not work in a naive fashion such as what I am

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list