aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-09-24 13:42:41 -0700
committerReid Kleckner <rnk@google.com>2020-09-24 16:29:47 -0700
commitb8a50e920704436ddcbe0cc9d2020935d7e37095 (patch)
treed5fc2bdf89d609c5ba17317d901532d1e4bc802c /clang/lib/CodeGen/CodeGenFunction.cpp
parent43804364e2bc2bd586740dbb0b7aae2137c130cc (diff)
downloadllvm-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