diff options
author | David Green <david.green@arm.com> | 2018-09-12 09:54:17 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2018-09-12 09:54:17 +0000 |
commit | 2352b30c9606e1323cfc39f141bdeb42bca858b1 (patch) | |
tree | 16736f9167759291d532189037bfcd39a6e8be04 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7140363cd0122df50ba7d824eb448680b1f818c9 (diff) | |
download | llvm-2352b30c9606e1323cfc39f141bdeb42bca858b1.zip llvm-2352b30c9606e1323cfc39f141bdeb42bca858b1.tar.gz llvm-2352b30c9606e1323cfc39f141bdeb42bca858b1.tar.bz2 |
[SimplifyCFG] Put an alignment on generated switch tables
Previously the alignment on the newly created switch table data was not set,
meaning that DataLayout::getPreferredAlignment was free to overalign it to 16
bytes. This causes unnecessary code bloat.
Differential Revision: https://reviews.llvm.org/D51800
llvm-svn: 342039
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions