Skip to content
Commit 731caac7 authored by Chris Lattner's avatar Chris Lattner
Browse files

remove a pointless restriction from memcpyopt. It was

refusing to optimize two memcpy's like this:

copy A <- B
copy C <- A

if it couldn't prove that noalias(B,C).  We can eliminate
the copy by producing a memmove instead of memcpy.

llvm-svn: 119694
parent bbb0f966
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment