Skip to content
Commit 30107ed6 authored by Chris Lattner's avatar Chris Lattner
Browse files

fold memcpy/set/move_chk to llvm.memcpy/set/move when the sizes

are trivial.  This exposes opportunities earlier, and allows fastisel
to do good things with these at -O0.

This addresses rdar://9289468 - clang doesn't fold memset_chk at -O0

llvm-svn: 129651
parent 55b0acd6
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