mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Document the encoding of MVT::ValueType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6445f61806
commit
c56b9e9f55
@ -82,6 +82,12 @@ namespace MVT { // MVT = Machine Value Types
|
||||
/// Note that simple doesn't necessary mean legal for the target machine.
|
||||
/// All legal value types must be simple, but often there are some simple
|
||||
/// value types that are not legal.
|
||||
///
|
||||
/// @internal
|
||||
/// Currently extended types are always vector types. Extended types are
|
||||
/// encoded by having the first SimpleTypeBits bits encode the vector
|
||||
/// element type (which must be a scalar type) and the remaining upper
|
||||
/// bits encode the vector length, offset by one.
|
||||
typedef uint32_t ValueType;
|
||||
|
||||
static const int SimpleTypeBits = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user