rjmccall added inline comments.

================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:8185
+                                            unsigned FreeRegs) const {
+  // TODO: C++ ABI?
+  unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32;
----------------
Please do go ahead and add the right logic for the C++ ABI in both this and the 
return-type classification.


https://reviews.llvm.org/D43089



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to