[llvm-bugs] [Bug 11763] memcpy call with overlapping (same) regions is created by LLVM

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 24 11:36:43 PDT 2016


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

whitequark <whitequark at whitequark.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #12 from whitequark <whitequark at whitequark.org> ---
I'm reopening this because the generated IR violates LLVM's own invariants,
which is clearly a problem. To quote LangRef for @llvm.memcpy: "The
‘llvm.memcpy.*‘ intrinsics copy a block of memory from the source location to
the destination location, which are not allowed to overlap."
http://llvm.org/docs/LangRef.html#id407

-- 
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/20160424/63022743/attachment.html>


More information about the llvm-bugs mailing list