[PATCH] D57625: [TargetLibraryInfo] Update run time support for Windows

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 15:08:58 PST 2019


evandro created this revision.
evandro added reviewers: dlj, hfinkel.
Herald added subscribers: llvm-commits, mstorsjo, fedor.sergeev, hiraditya.
Herald added a project: LLVM.

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 fully validate it.


Repository:
  rL LLVM

https://reviews.llvm.org/D57625

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57625.184856.patch
Type: text/x-patch
Size: 17411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190201/2e3cb6f7/attachment.bin>


More information about the llvm-commits mailing list