This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Add library of floating point test matchers.
ClosedPublic

Authored by sivachandra on Aug 6 2020, 4:14 PM.

Details

Summary

This eliminates UnitTest's dependency on FPUtil and hence prevents
non-math tests from depending indirectly on FPUtil. The patch
essentially moves some of the existing pieces into a library of its own.

Along the way, renamed add_math_unittest to add_fp_unittest.

Diff Detail

Event Timeline

sivachandra created this revision.Aug 6 2020, 4:14 PM
sivachandra requested review of this revision.Aug 6 2020, 4:14 PM

Fix naming style in Test.cpp.

lntue accepted this revision.Aug 7 2020, 8:19 AM
This revision is now accepted and ready to land.Aug 7 2020, 8:19 AM
This revision was landed with ongoing or failed builds.Aug 7 2020, 11:34 PM
This revision was automatically updated to reflect the committed changes.