summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorBradley Smith <bradley.smith@arm.com>2015-04-28 11:24:54 +0000
committerBradley Smith <bradley.smith@arm.com>2015-04-28 11:24:54 +0000
commitba945626b094899c7a4cae587398a69097da560c (patch)
tree8999ff7481a090b491d669dc6bbcaeee21b32aeb /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent86e0249235f15fae19709e21b1ae250fd1f20ca0 (diff)
downloadbcm5719-llvm-ba945626b094899c7a4cae587398a69097da560c.tar.gz
bcm5719-llvm-ba945626b094899c7a4cae587398a69097da560c.zip
[ARM/AArch64] Enforce alignment for bitfielded structs
When creating a global variable with a type of a struct with bitfields, we must forcibly set the alignment of the global from the RecordDecl. We must do this so that the proper bitfield alignment makes its way down to LLVM, since clang will mangle the bitfields into one large type. llvm-svn: 235976
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud