[llvm-bugs] [Bug 28958] New: [memcpyopt] Memcpy-memcpy dependence isn't detected across basic blocks.
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 12 15:27:57 PDT 2016
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: unassignedbugs at nondot.org
Reporter: pcwalton at mimiga.net
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160812/2f5cacf9/attachment-0001.html>
More information about the llvm-bugs
mailing list