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

            Bug ID: 28958
           Summary: [memcpyopt] Memcpy-memcpy dependence isn't detected
                    across basic blocks.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 16939
  --> https://llvm.org/bugs/attachment.cgi?id=16939&action=edit
Proposed patch, part 1.

The memory dependence queries in the memcpy optimizer don't take the nonlocal
case into account. The attached patch fixes this; with it, 28% of the memcpy
calls in librustc (part of the Rust compiler) are eliminated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to