mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Don't use larger alignment.
llvm-svn: 53857
This commit is contained in:
parent
6e31474e71
commit
3d4c55bb7a
@ -118,7 +118,7 @@ ELFTargetAsmInfo::MergeableStringSection(const GlobalVariable *GV) const {
|
||||
if (Size <= 16) {
|
||||
// We also need alignment here
|
||||
const TargetData *TD = ETM->getTargetData();
|
||||
unsigned Align = TD->getPreferredAlignment(GV);
|
||||
unsigned Align = TD->getPrefTypeAlignment(Type);
|
||||
if (Align < Size)
|
||||
Align = Size;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user