This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Document intentional non-support for an extension
ClosedPublic

Authored by klausler on Jun 1 2022, 11:13 AM.

Details

Summary

F18 doesn't accept INTEGER operands to the intrinsic LOGICAL operations;
some compilers do. This usage is not portable, and not just because it's
non-conforming -- the bit representations of LOGICAL also vary between
compilers and options. The "MIL-STD" bit intrinsics IAND() & al. have been
avaiable since the late 70's and should be used instead.

Diff Detail

Event Timeline

klausler created this revision.Jun 1 2022, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2022, 11:13 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 1 2022, 11:13 AM
PeteSteinfeld accepted this revision.Jun 1 2022, 1:49 PM

Looks good to me!

This revision is now accepted and ready to land.Jun 1 2022, 1:49 PM