diff options
author | Lang Hames <lhames@gmail.com> | 2013-03-05 20:27:24 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-03-05 20:27:24 +0000 |
commit | 224ae88bc3f3c0ad43a50da048a2f789898a18cf (patch) | |
tree | 4ad34a59cae2828e593260e17c5d2fb4f3b01fb2 /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | 37f2ab4824ec3309ee3b578efc2839cdf4ce2a24 (diff) | |
download | bcm5719-llvm-224ae88bc3f3c0ad43a50da048a2f789898a18cf.tar.gz bcm5719-llvm-224ae88bc3f3c0ad43a50da048a2f789898a18cf.zip |
Use ASTContext::getDeclAlign(<Field Decl>) to get the alignment of the first
field to be memcpy'd, rather instead of ASTContext::getTypeAlign(<Field Type>).
For packed structs the alignment of a field may be less than the alignment of
the field's type.
<rdar://problem/13338585>
llvm-svn: 176512
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
0 files changed, 0 insertions, 0 deletions