[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
Wed May 29 11:42:05 PDT 2024


================
@@ -436,9 +436,9 @@ class ScalarExprEmitter
 
     if (Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) {
       if (E->isGLValue())
-        return CGF.Builder.CreateLoad(Address(
-            Result, CGF.ConvertTypeForMem(E->getType()),
-            CGF.getContext().getTypeAlignInChars(E->getType())));
+        return CGF.Builder.CreateLoad(
----------------
efriedma-quic wrote:

EmitLoadOfScalar?

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


More information about the cfe-commits mailing list