Skip to content

[memcpyopt] Handle partially overlapping memcpys #2430

@llvmbot

Description

@llvmbot
Bugzilla Link 2058
Version unspecified
OS Linux
Blocks #824
Attachments testcase .ll, another slightly simpler example of the same thing
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

In the attached testcase there are two memcpy's. In theory one
could be eliminated, for example by using %agg.result instead of
%temp everywhere. I admit that this is tricky - but not impossible!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions