[clang] Fix codegen of consteval functions returning an empty class, and related issues (PR #93115)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Thu May 23 18:52:02 PDT 2024
================
@@ -46,9 +46,9 @@ int mane() {
char1 f1{1};
char1 f2{1};
-// CHECK: [[TMP:%.+]] = alloca i16
----------------
efriedma-quic wrote:
The revised version of casting integers is a bit more aggressive; it's hard to make it precisely match the old code while still preserving the correct semantics.
https://github.com/llvm/llvm-project/pull/93115
More information about the cfe-commits
mailing list