This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Math] Add constant folder for TanhOp.
ClosedPublic

Authored by jacquesguan on Aug 1 2022, 8:37 PM.

Details

Summary

This patch adds constant folder for TanhOp which only supports single and double precision floating-point.

Diff Detail

Event Timeline

jacquesguan created this revision.Aug 1 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2022, 8:37 PM
jacquesguan requested review of this revision.Aug 1 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2022, 8:37 PM
Mogball accepted this revision.Aug 1 2022, 8:40 PM
This revision is now accepted and ready to land.Aug 1 2022, 8:40 PM
This revision was automatically updated to reflect the committed changes.