diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-06 20:18:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-06 20:18:44 +0000 |
commit | 95a959dc1a6cb8b194bd8b4fad9ef0081ce8b364 (patch) | |
tree | d41f579b78bfb99c2ae3095bd524e80a034262a8 /lib/CodeGen/MachineBasicBlock.cpp | |
parent | 6af7ef8da874635f5f060ad19afb19811452b447 (diff) |
Teach instcombine to increase the alignment of memset/memcpy/memmove when
the pointer is known to come from either a global variable, alloca or
malloc. This allows us to compile this:
P = malloc(28);
memset(P, 0, 28);
into explicit stores on PPC instead of a memset call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions