[PATCH] D153179: [clang codegen] Fix ABI for HVA returns on AArch64 MSVC.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 14:21:31 PDT 2023


efriedma added a comment.

Filed https://github.com/llvm/llvm-project/issues/63417 .  (On a related note, I also filed https://github.com/llvm/llvm-project/issues/63360 for an issue I stumbled over involving deleted copy constructors.)

> Interesting. In Clang, we basically layer the C++ rules over the C rules: if C++ aspects of a class allow it to be passed directly transparently, then we defer down to the C rules, which deal with HVAs, structs, and things like that.

Yes... clearly MSVC is doing something very different if they're getting results like this by accident.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153179/new/

https://reviews.llvm.org/D153179



More information about the cfe-commits mailing list