[LLVMbugs] [Bug 1952] New: memcpy between locals at end of function not eliminated

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 28 09:30:12 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=1952

           Summary: memcpy between locals at end of function not eliminated
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1357)
 --> (http://llvm.org/bugs/attachment.cgi?id=1357)
testcase .ll

The testcase finishes with this memcpy between local allocas:

        call void @llvm.memcpy.i32( i8* %tmp161, i8* %tmp183185, i32 %tmp180,
i32 4 )
        ret void

This is keeping the rest of the code alive...  It would be nice to eliminate
it.  This is the result of compiling test/FrontendAda/placeholder.adb at -O4.


-- 
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