[PATCH] D25204: Register Calling Convention, Clang changes

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 10:39:53 PDT 2016


rnk added inline comments.


> erichkeane wrote in TargetInfo.cpp:3742-3743
> That was my intent, this should allow return values to be in registers as well if I'm reading the spec correctly.  The idea is that register use is 'greedy'.

But, if the return value is returned directly, it doesn't conflict with the free parameter registers. In my example, the return value can use XMM0-3 and the parameters can use XMM0-15. Can you add this test case and validate that it does what you want?

https://reviews.llvm.org/D25204





More information about the cfe-commits mailing list