diff options
author | Reid Kleckner <rnk@google.com> | 2020-09-24 13:42:41 -0700 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-09-24 16:29:47 -0700 |
commit | b8a50e920704436ddcbe0cc9d2020935d7e37095 (patch) | |
tree | d5fc2bdf89d609c5ba17317d901532d1e4bc802c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 43804364e2bc2bd586740dbb0b7aae2137c130cc (diff) | |
download | llvm-b8a50e920704436ddcbe0cc9d2020935d7e37095.zip llvm-b8a50e920704436ddcbe0cc9d2020935d7e37095.tar.gz llvm-b8a50e920704436ddcbe0cc9d2020935d7e37095.tar.bz2 |
[MS] Simplify rules for passing C++ records
Regardless of the target architecture, we should always use the C rules
(RAA_Default) for records that "canBePassedInRegisters". Those are
trivially copyable things, and things marked with [[trivial_abi]].
This should be NFC, although it changes where the final decision about
x86_32 overaligned records is made. The current x86_32 C rules say that
overaligned things are passed indirectly, so there is no functional
difference.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions