[LLVMbugs] [Bug 233] NEW: [llvmgcc] Structure copies result in a LOT of code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Feb 12 09:59:04 PST 2004


           Summary: [llvmgcc] Structure copies result in a LOT of code
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

llvmgcc happily code generates structure copies to copy over each element of the
structure at a time.  Unfortunately, this can result in a LOT of code.  This bug
turns the "dumpcore" function in Spec95's m88ksim into a gigantic monstrosity
that make the optimizers weak in the knees.

This should be fixed by emitting a call to 'memcpy' if possible.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list