================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits