[PATCH] D69777: [ConstantFolding] Fold calls to FP remainder function

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 10:38:04 PST 2019


ekatz updated this revision to Diff 227737.
ekatz added a comment.

Added a test (copied from the one for "fmod").
Added handling of "remainder" to TargetLibraryInfo.cpp.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69777/new/

https://reviews.llvm.org/D69777

Files:
  llvm/include/llvm/Analysis/TargetLibraryInfo.def
  llvm/lib/Analysis/ConstantFolding.cpp
  llvm/lib/Analysis/TargetLibraryInfo.cpp
  llvm/test/Analysis/ConstantFolding/math-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69777.227737.patch
Type: text/x-patch
Size: 3888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191104/0460b768/attachment.bin>


More information about the llvm-commits mailing list