[PATCH] D35056: GCC ABI incompatibility when passing object with trivial copy ctor, trivial dtor, and non-trivial move ctor

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 18:01:08 PDT 2017


rjmccall added inline comments.


================
Comment at: lib/CodeGen/CGCXXABI.cpp:43
   if (RD->hasNonTrivialDestructor())
     return false;
 
----------------
Does canPassInRegisters() not subsume all of these earlier checks?


https://reviews.llvm.org/D35056





More information about the cfe-commits mailing list