HomePhabricator

[ConstantFolding] Expand folding of some library functions

Authored by evandro on Sep 12 2019, 2:23 PM.

Description

[ConstantFolding] Expand folding of some library functions

Expanding the folding of nearbyint(), rint() and trunc() to library
functions, in addition to the current support for intrinsics.

Differential revision: https://reviews.llvm.org/D67468

llvm-svn: 371774