This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't warn about a NaN argument to ISNAN()
ClosedPublic

Authored by klausler on Jul 3 2023, 10:30 AM.

Details

Summary

Don't emit a warning when a compile-time constant argument to
ISNAN() or IEEE_IS_NAN() is a NaN.

Diff Detail

Event Timeline

klausler created this revision.Jul 3 2023, 10:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 10:30 AM
klausler requested review of this revision.Jul 3 2023, 10:30 AM
PeteSteinfeld accepted this revision.Jul 3 2023, 12:02 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jul 3 2023, 12:02 PM
This revision was landed with ongoing or failed builds.Jul 3 2023, 1:26 PM
This revision was automatically updated to reflect the committed changes.