This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add performance tests for hypotf and hypot.
ClosedPublic

Authored by lntue on Dec 21 2021, 11:24 AM.

Details

Summary

Add performance tests for hypotf and hypot.

Diff Detail

Event Timeline

lntue created this revision.Dec 21 2021, 11:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 21 2021, 11:24 AM
lntue requested review of this revision.Dec 21 2021, 11:24 AM
michaelrj accepted this revision.Dec 22 2021, 10:43 AM

LGTM with some formatting nits

libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
21

Constexpr variables should be UPPER_CASE

52

Normal variables should be lower_case

This revision is now accepted and ready to land.Dec 22 2021, 10:43 AM
sivachandra added inline comments.Dec 22 2021, 1:29 PM
libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
52

Function/method names should also be formatted in the same fashion.

lntue updated this revision to Diff 395927.Dec 22 2021, 2:04 PM

[libc] Add performance tests for hypotf and hypot.

sivachandra accepted this revision.Dec 22 2021, 3:31 PM
sivachandra added inline comments.
libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
26

Method name and param names should also in lower_case style.

lntue updated this revision to Diff 395969.Dec 22 2021, 9:36 PM
lntue marked 4 inline comments as done.

[libc] Add performance tests for hypotf and hypot.

lntue updated this revision to Diff 395972.Dec 22 2021, 9:39 PM

[libc] Add performance tests for hypotf and hypot.

This revision was automatically updated to reflect the committed changes.