diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-04-26 08:31:00 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-04-26 08:31:00 +0000 |
commit | 5d5ee4aff748c827d54fa8c3224ad7090bb018bc (patch) | |
tree | 6788eb3044413ac22fd0851e2f7f80505ecf102e /llvm/lib/Transforms | |
parent | 1a607ff043fa06025f4d426b43dbb7c95744ce64 (diff) | |
download | bcm5719-llvm-5d5ee4aff748c827d54fa8c3224ad7090bb018bc.tar.gz bcm5719-llvm-5d5ee4aff748c827d54fa8c3224ad7090bb018bc.zip |
Fix alignment in AArch64InstructionSelector::emitConstantPoolEntry()
The code was using the alignment of a pointer to the value, not the
alignment of the constant itself.
Maybe we got away with it so far because the pointer alignment is
fairly high, but we did end up under-aligning <16 x i8> vectors,
which was caught in the Chromium build after lld stopped over-aligning
the .rodata.cst16 section in r356428. (See crbug.com/953815)
Differential revision: https://reviews.llvm.org/D61124
llvm-svn: 359287
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions