This is an archive of the discontinued LLVM Phabricator instance.

[libc] Fix small bugs in aarch64/FEnvImpl.h and simplify feclearexcept_test.
ClosedPublic

Authored by lntue on Mar 4 2022, 7:13 AM.

Details

Summary

Fix small bugs in aarch64/EFnvImpl.h and simplify feclearexcept_test.

Diff Detail

Event Timeline

lntue created this revision.Mar 4 2022, 7:13 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 4 2022, 7:13 AM
lntue requested review of this revision.Mar 4 2022, 7:13 AM
sivachandra added inline comments.Mar 4 2022, 11:13 AM
libc/test/src/fenv/feclearexcept_test.cpp
67

Why did you remove these?

lntue added inline comments.Mar 4 2022, 11:56 AM
libc/test/src/fenv/feclearexcept_test.cpp
67

These tests are actually covered by the test below. For example, a single one exception is covered when e1 == e2 == e3 == e4 == e5, and so on.

sivachandra accepted this revision.Mar 4 2022, 12:13 PM
This revision is now accepted and ready to land.Mar 4 2022, 12:13 PM