diff options
author | Tim Northover <tnorthover@apple.com> | 2016-07-18 18:28:52 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-07-18 18:28:52 +0000 |
commit | 918f05063c5e32fe9c468ef569bf0ea9b1a81c22 (patch) | |
tree | 2908fe22d420d8b400b41d246b2b86561106c521 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 01c078966d384e41653a0c3cb390ba259c0dd333 (diff) | |
download | bcm5719-llvm-918f05063c5e32fe9c468ef569bf0ea9b1a81c22.tar.gz bcm5719-llvm-918f05063c5e32fe9c468ef569bf0ea9b1a81c22.zip |
CodeGenPrep: use correct function to determine Global's alignment.
Elsewhere (particularly computeKnownBits) we assume that a global will be
aligned to the value returned by Value::getPointerAlignment. This is used to
boost the alignment on memcpy/memset, so any target-specific request can only
increase that value.
llvm-svn: 275866
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions