[llvm] [DataLayout] Move '*AlignElem' structs and enum inside DataLayout (NFC) (PR #103723)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 05:24:59 PDT 2024
================
@@ -135,19 +115,26 @@ class DataLayout {
// FIXME: `unsigned char` truncates the value parsed by `parseSpecifier`.
SmallVector<unsigned char, 8> LegalIntWidths;
+ // Primitive type specifier.
+ enum class PrimitiveSpecifier {
+ Integer = 'i',
+ Float = 'f',
+ Vector = 'v',
+ // TODO: Aggregates are not primitives. This should be separated.
----------------
nikic wrote:
Rename PrimitiveSpecifier -> TypeSpecifier then?
https://github.com/llvm/llvm-project/pull/103723
More information about the llvm-commits
mailing list