[PATCH] D52649: [mips] Mark fmaxl as a long double emulation routine

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 2 11:51:38 PDT 2018


efriedma added a comment.

I'm kind of confused by what you're doing here... fmaxl is a C library function; C code is allowed to take its address and call it indirectly.  So changing the lowering based on the name of the callee seems wrong.

If the issue is specifically with intrinsic lowering, maybe the MIPS backend should be using setLibcallCallingConv?


https://reviews.llvm.org/D52649





More information about the llvm-commits mailing list