For some bitfield patterns (like the one added by this commit), Clang will
generate non-regular data types like i24 or i48. This patch follows a
pretty naive approach of just bumping the type size to the next power of 2.
DataExtractor know how to deal with weird sizes. The operations on Scalar
do not know how to deal with those types though, so we have to legalize the
size when creating a Scalar.
Details
Details
- Reviewers
jingham clayborg - Commits
- rGae6ca2fc3f5d: Allow IRInterpreter to deal with non-power-of-2 sized types to support some…
rLLDB340880: Allow IRInterpreter to deal with non-power-of-2 sized types to support some…
rL340880: Allow IRInterpreter to deal with non-power-of-2 sized types to support some…
Diff Detail
Diff Detail
- Repository
- rL LLVM