This is an archive of the discontinued LLVM Phabricator instance.

[ConstantFolding] Expand folding of some library functions
ClosedPublic

Authored by evandro on Sep 11 2019, 2:27 PM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

evandro created this revision.Sep 11 2019, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 11 2019, 2:27 PM
This revision is now accepted and ready to land.Sep 12 2019, 11:49 AM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/Analysis/ConstantFolding/trunc.ll