diff options
| author | Jay Foad <jay.foad@amd.com> | 2024-12-16 21:23:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-16 21:23:33 +0000 |
| commit | 2fe296965930932be9b7b155bf8c10a0f81c58cf (patch) | |
| tree | 9e935779840e92707c81401e6ceffb5188c7de75 /llvm/lib/CodeGenTypes/LowLevelType.cpp | |
| parent | b86a22aa3915c5ed7f802ebad7578c0906bdd8a9 (diff) | |
[CodeGen] Simplify LLT bitfields. NFC. (#120074)
- Put the element size field in the same place for all non-pointer
types.
- Put the element size and address space fields in the same place for
all pointer types.
- Put the number of elements and scalable fields in the same place for
all vector types.
This simplifies initialization and accessor methods isScalable,
getElementCount, getScalarSizeInBits and getAddressSpace.
Diffstat (limited to 'llvm/lib/CodeGenTypes/LowLevelType.cpp')
| -rw-r--r-- | llvm/lib/CodeGenTypes/LowLevelType.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGenTypes/LowLevelType.cpp b/llvm/lib/CodeGenTypes/LowLevelType.cpp index 5530a2ea952d..4785f2652b00 100644 --- a/llvm/lib/CodeGenTypes/LowLevelType.cpp +++ b/llvm/lib/CodeGenTypes/LowLevelType.cpp @@ -60,8 +60,3 @@ const constexpr LLT::BitFieldInfo LLT::PointerSizeFieldInfo; const constexpr LLT::BitFieldInfo LLT::PointerAddressSpaceFieldInfo; const constexpr LLT::BitFieldInfo LLT::VectorElementsFieldInfo; const constexpr LLT::BitFieldInfo LLT::VectorScalableFieldInfo; -const constexpr LLT::BitFieldInfo LLT::VectorSizeFieldInfo; -const constexpr LLT::BitFieldInfo LLT::PointerVectorElementsFieldInfo; -const constexpr LLT::BitFieldInfo LLT::PointerVectorScalableFieldInfo; -const constexpr LLT::BitFieldInfo LLT::PointerVectorSizeFieldInfo; -const constexpr LLT::BitFieldInfo LLT::PointerVectorAddressSpaceFieldInfo; |
