summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/COFFDump.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-09-10 12:50:59 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-09-10 12:50:59 +0000
commit5d34a2b887a985651cd098153506c45227123b65 (patch)
tree3fbaa470ed141e4fb2c9358ba8ca5d256ee48784 /llvm/tools/llvm-objdump/COFFDump.cpp
parent24b657264502bb9b19eeb368a5adb5e19e58f28b (diff)
downloadbcm5719-llvm-5d34a2b887a985651cd098153506c45227123b65.tar.gz
bcm5719-llvm-5d34a2b887a985651cd098153506c45227123b65.zip
CodeGen: Use a fixed alignment for vtables.
Pointer-sized alignment is sufficient as we only ever read single values from the table. Otherwise we'd bump the alignment to 16 bytes in the backend if the vtable is larger than 16 bytes. This is great for structures that are accessed with vector instructions or copied around, but that's simply not the case for vtables. Shrinks the data segment of a Release x86_64 clang by 0.3%. The wins are larger for i386 and code bases that use vtables more often than we do. This matches the behavior of GCC 5. llvm-svn: 217495
Diffstat (limited to 'llvm/tools/llvm-objdump/COFFDump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud