This is an archive of the discontinued LLVM Phabricator instance.

[flang] Operands of SIGN() need not have same kind
ClosedPublic

Authored by klausler on May 6 2022, 10:16 AM.

Details

Summary

The standard requires that the operands of the intrinsic function
SIGN() must have the same type (INTEGER or REAL), but they are not
required to have the same kind.

Diff Detail

Event Timeline

klausler created this revision.May 6 2022, 10:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 10:16 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 6 2022, 10:16 AM
PeteSteinfeld accepted this revision.May 6 2022, 10:34 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.May 6 2022, 10:34 AM
This revision was automatically updated to reflect the committed changes.