[clang] [clang] Lower _BitInt(129+) to a different type in LLVM IR (PR #91364)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 12:36:44 PDT 2024


================
@@ -761,6 +761,10 @@ bool ConstStructBuilder::Build(const InitListExpr *ILE, bool AllowOverwrite) {
       if (Field->hasAttr<NoUniqueAddressAttr>())
         AllowOverwrite = true;
     } else {
+      llvm::Type *LoadType = CGM.getTypes().convertTypeForLoadStore(
----------------
efriedma-quic wrote:

Oh, I see... please move the duplicated code into the implementation of AppendBitField, and add a comment explaining it.

https://github.com/llvm/llvm-project/pull/91364


More information about the cfe-commits mailing list