mstorsjo added a comment.

In https://reviews.llvm.org/D44582#1040643, @efriedma wrote:

> The backend has code to generate SRet returns, which is used when 
> TargetLowering::CanLowerReturn returns false.  Probably a tiny change to 
> X86CallingConv.td to use that codepath on Windows.


Thanks, I managed to make something that seems to work by tweaking that file, 
see https://reviews.llvm.org/D44592.


Repository:
  rC Clang

https://reviews.llvm.org/D44582



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

Reply via email to