summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Core.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-17 20:03:47 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-17 20:03:47 +0000
commitf2442dcc8d653d3dcb37104df35357d2ed31a31a (patch)
treea6d786f30735ee3799676e63881ef908dbd649f4 /llvm/lib/VMCore/Core.cpp
parenteb185ca5e95aad1e3f61971bf1e39b1035b409d1 (diff)
downloadbcm5719-llvm-f2442dcc8d653d3dcb37104df35357d2ed31a31a.tar.gz
bcm5719-llvm-f2442dcc8d653d3dcb37104df35357d2ed31a31a.zip
Fix support for _Bool bitfields. The issue is that the bitfield width
used for _Bool is not the same as the primitive width (which for _Bool is 1 bit). The load and store changes add some casts to make the types consistent. The EmitLValue changes make sure that the pointer is of an appropriate type for loading the bitfield. This isn't perfect, but it's an improvement, and getting everything right depends on actually laying out structs in an ABI-compliant way. llvm-svn: 51224
Diffstat (limited to 'llvm/lib/VMCore/Core.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud