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



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

Reply via email to