This is an archive of the discontinued LLVM Phabricator instance.

[libc] Extend MPFRMatcher to handle 2-input-1-output and support hypot function.
ClosedPublic

Authored by lntue on Sep 11 2020, 7:36 AM.

Diff Detail

Event Timeline

lntue created this revision.Sep 11 2020, 7:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 11 2020, 7:36 AM
lntue requested review of this revision.Sep 11 2020, 7:36 AM
sivachandra accepted this revision.Sep 14 2020, 7:50 AM
sivachandra added inline comments.
libc/utils/MPFRWrapper/MPFRUtils.cpp
544

This is now repeated in two other functions also I think. We should probably use a helper function, but can be done in a later pass.

libc/utils/MPFRWrapper/MPFRUtils.h
50

Can you remove the TODO?

166

Can you remove the TODO here as well?

This revision is now accepted and ready to land.Sep 14 2020, 7:50 AM
lntue marked 3 inline comments as done.Sep 14 2020, 11:06 AM
lntue added inline comments.
libc/utils/MPFRWrapper/MPFRUtils.cpp
544

Ack

lntue updated this revision to Diff 291636.Sep 14 2020, 11:55 AM
lntue marked an inline comment as done.

Remove TODO's.

This revision was landed with ongoing or failed builds.Sep 14 2020, 11:56 AM
This revision was automatically updated to reflect the committed changes.