[PATCH] D67468: [ConstantFolding] Expand folding of some library functions
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 14:28:59 PDT 2019
evandro created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
evandro added reviewers: efriedma, xbolva00, spatel.
Expanding the folding of `nearbyint()`, `rint()`, `round()` and `trunc()` to library functions, in addition to the current support for intrinsics.
https://reviews.llvm.org/D67468
Files:
llvm/lib/Analysis/ConstantFolding.cpp
llvm/test/Analysis/ConstantFolding/rint.ll
llvm/test/Analysis/ConstantFolding/round.ll
llvm/test/Analysis/ConstantFolding/trunc.ll
llvm/test/Transforms/InstCombine/round.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67468.219806.patch
Type: text/x-patch
Size: 10372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190911/3e17bcfe/attachment.bin>
More information about the llvm-commits
mailing list