This is an archive of the discontinued LLVM Phabricator instance.

[libc] Enable conversion functions on the GPU
ClosedPublic

Authored by jhuber6 on Jun 15 2023, 6:20 AM.

Details

Summary

These functions were previously removed due to problems running the
tests with errno in them. This was resolved previously by making the
internal implementation of these functions use a global errno so that
tests can still use errno functionality as long as they are run with a
single thread. This allows us to re-enable these tests as a previous
patch has also resolved the issue where the stdlib tests could not be
hermetic due to the dependence on system rounding functions.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 15 2023, 6:20 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 15 2023, 6:20 AM
jhuber6 requested review of this revision.Jun 15 2023, 6:20 AM
lntue accepted this revision.Jun 15 2023, 7:29 AM
This revision is now accepted and ready to land.Jun 15 2023, 7:29 AM
This revision was automatically updated to reflect the committed changes.