mizvekov wrote: I agree it's strange choice the effects of elide-constructor are applied on the CodeGen side, by ignoring the AST, instead of on the AST directly. https://github.com/llvm/llvm-project/pull/101038