This is an archive of the discontinued LLVM Phabricator instance.

[support] Temporarily disable Inf/NaN testing in PrintNumber
ClosedPublic

Authored by paulkirth on Mar 24 2023, 10:45 AM.

Details

Summary

This is still breaking on some platforms. The underlying implementation
doesn't seem to be the cause, rather the test is not robust across
platforms. So, we'll just disable this for the time being, to unblock
builds until we have a proper fix.

Diff Detail

Event Timeline

paulkirth created this revision.Mar 24 2023, 10:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 10:45 AM
paulkirth requested review of this revision.Mar 24 2023, 10:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 10:45 AM

clang-format

Would it be better to remove the lines and just leave the FIXME comments? I don't know if leaving commented out code is good style, but please correct me if I'm wrong and this is done elsewhere

Remove most commented out code. Specifically leaving the PrintNumber ones, since they are clear about what should be re-enabled.

This revision is now accepted and ready to land.Mar 24 2023, 11:29 AM
llvm/unittests/Support/ScopedPrinterTest.cpp
669

nit: looks like a formatting issue here

git clang-format HEAD~ formatted it that way

This revision was landed with ongoing or failed builds.Mar 24 2023, 11:32 AM
This revision was automatically updated to reflect the committed changes.