This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by jacquesguan on Sep 6 2022, 2:15 AM.

Details

Summary

This patch uses roundeven/roundevenf of libm to fold RoundEvenOp of constant.

Diff Detail

Event Timeline

jacquesguan created this revision.Sep 6 2022, 2:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 2:15 AM
jacquesguan requested review of this revision.Sep 6 2022, 2:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 2:15 AM
Mogball accepted this revision.Sep 6 2022, 9:26 AM
This revision is now accepted and ready to land.Sep 6 2022, 9:26 AM
This revision was landed with ongoing or failed builds.Sep 6 2022, 8:13 PM
This revision was automatically updated to reflect the committed changes.

Thanks for the fix! In general please either push your fix directly without pre-commit review to unbreak bot ASAP, or revert first and reopen the current review with the fix included.

Thanks for the fix! In general please either push your fix directly without pre-commit review to unbreak bot ASAP, or revert first and reopen the current review with the fix included.

OK, thanks.