[PATCH] D44582: [Builtins] Fix calling long double math functions on x86_64 mingw

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 16 16:08:47 PDT 2018

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.

  rC Clang


More information about the cfe-commits mailing list