[PATCH] D41338: [CodeGen] lower math intrinsics to finite version of libcalls when possible (PR35672)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 12:54:51 PST 2017


efriedma added a comment.

> and calls to <foo>l/__<foo>l_finite for f128 everywhere else. No?

There are four ways to lower C long double to LLVM IR: fp128, ppc_f128, x86_fp80, and double.  If you assume the IR doesn't contain any intrinsic calls which can't be lowered, the logic becomes simpler, but I'm not sure that's a safe assumption.


https://reviews.llvm.org/D41338





More information about the llvm-commits mailing list