Skip to content
Commit ff7d7b18 authored by Owen Anderson's avatar Owen Anderson
Browse files

Fix a bug in memcpyopt where the memcpy-memcpy transform was never being applied because

we were checking for it in the wrong order.  This caused a miscompilation because the
return slot optimization assumes that the call it is dealing with is NOT a memcpy.

llvm-svn: 50444
parent fa5a3d0f
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