[clang] [clang] Lower _BitInt(129+) to a different type in LLVM IR (PR #91364)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 06:08:55 PDT 2024
================
@@ -128,6 +128,16 @@ class CodeGenTypes {
/// memory representation is usually i8 or i32, depending on the target.
llvm::Type *ConvertTypeForMem(QualType T, bool ForBitField = false);
+ /// Check that size and ABI alignment of given LLVM type matches size and
+ /// alignment of given AST type. If they don't, values of the type need to be
+ /// emitted as byte array.
+ bool typeRequiresSplitIntoByteArray(QualType ASTTy,
+ llvm::Type *LLVMTy = nullptr);
+
+ /// For AST types with special memory representation returns type
+ /// that ought to be used for load and store operations.
----------------
Fznamznon wrote:
Thanks, applied.
https://github.com/llvm/llvm-project/pull/91364
More information about the cfe-commits
mailing list