[llvm-commits] Patch for pr12559: mark missing math LibCalls as unavailable on win32; fix SimplifyLibCalls to use TLI for floor etc.

Joe Groff arcata at gmail.com
Tue Apr 17 09:21:43 PDT 2012


On Sun, Apr 15, 2012 at 1:38 PM, Joe Groff <arcata at gmail.com> wrote:
> Here's a patch for opt that makes it take an -mtriple option, and a
> revised patch for pr12559 that tests that (float)floor, (float)ceil,
> and (float)sqrt still optimize to single-precision libcalls for mingw
> and win64 targets. (There doesn't appear to be such an optimization
> implemented yet for other math libcalls available on Windows.)
>
> -Joe

I see 3.1 has branched. Any chance this fix could make it in to the 3.1 branch?

-Joe



More information about the llvm-commits mailing list