[PATCH] [TargetLibraryInfo] Update run time support for Windows
authorEvandro Menezes <e.menezes@samsung.com>
Mon, 4 Feb 2019 23:29:41 +0000 (23:29 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Mon, 4 Feb 2019 23:29:41 +0000 (23:29 +0000)
commitff5527718d5d3b9966f6e8948866c0dc15ffcf3c
tree776690d6ba6297b54deefaa438f9805109e743ef
parent1f795e2c2a0b81d71f69621649b21cb7b1e616b4
[PATCH] [TargetLibraryInfo] Update run time support for Windows

It seems that the run time for Windows has changed and supports more math
functions than before.  Since LLVM requires at least VS2015, I assume that
this is the run time that would be redistributed with programs built with
Clang.  Thus, I based this update on the header file `math.h` that
accompanies it.

This patch addresses the PR40541.  Unfortunately, I have no access to a
Windows development environment to validate it.

llvm-svn: 353114
llvm/lib/Analysis/TargetLibraryInfo.cpp
llvm/test/Transforms/InstCombine/double-float-shrink-1.ll
llvm/test/Transforms/InstCombine/double-float-shrink-2.ll
llvm/test/Transforms/InstCombine/pow-1.ll
llvm/test/Transforms/InstCombine/win-math.ll