diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-08-06 05:08:45 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-06 05:08:45 +0000 |
| commit | ead7c9124033ab3bcc3f2bd44145ccb5afeeafcd (patch) | |
| tree | 5861d3127083ce05f8ed22a0005fc96c3c85adaf /llvm/lib/Transforms/Scalar | |
| parent | bf428935670c67e7afd3340ee0c6f66240c13658 (diff) | |
| download | bcm5719-llvm-ead7c9124033ab3bcc3f2bd44145ccb5afeeafcd.tar.gz bcm5719-llvm-ead7c9124033ab3bcc3f2bd44145ccb5afeeafcd.zip | |
Fix bitfield accesses which straddle the boundary of the underlying
type.
- This generates somewhat less optimal code than before but this is
not hard to rectify once stable (at the cost of slightly more
complex code).
- This currently always uses little-endian ordering of the bitfield.
- This breaks the CodeGen/bitfield.c test because it was grepping for
hard-coded assembly instructions. Will fix once a better test case
is constructed (hard to do without execution).
- This fixes SingleSource/UnitTests/2006-01-23-InitializedBitField.c
and Regression/C/PR1386.c from the test suite.
- <rdar://problem/6085090>, <rdar://problem/6094169>
llvm-svn: 54395
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
0 files changed, 0 insertions, 0 deletions

