diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-15 08:34:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-15 08:34:01 +0000 |
commit | 4179fa03573f8d08f13497951e3024b1e5356561 (patch) | |
tree | 23ca55d795249a66b17b0ea6f10d48482d153253 /llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp | |
parent | 6087a3e76b7c4f268018a966e2e8c30df82467e0 (diff) | |
download | bcm5719-llvm-4179fa03573f8d08f13497951e3024b1e5356561.tar.gz bcm5719-llvm-4179fa03573f8d08f13497951e3024b1e5356561.zip |
a few improvements:
1. Use std::equal instead of reinventing it.
2. don't run dtors in destroy_range if element is pod-like.
3. Use isPodLike to decide between memcpy/uninitialized_copy
instead of is_class. isPodLike is more generous in some cases.
llvm-svn: 91427
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions