summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-04-26 08:31:00 +0000
committerHans Wennborg <hans@hanshq.net>2019-04-26 08:31:00 +0000
commit5d5ee4aff748c827d54fa8c3224ad7090bb018bc (patch)
tree6788eb3044413ac22fd0851e2f7f80505ecf102e /llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
parent1a607ff043fa06025f4d426b43dbb7c95744ce64 (diff)
downloadbcm5719-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/Scalar/InferAddressSpaces.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud