This is an archive of the discontinued LLVM Phabricator instance.

[flang] Change COUNT intrinsic to support different kind logicals
ClosedPublic

Authored by SBallantyne on Feb 27 2023, 5:51 AM.

Details

Summary

Previously COUNT would cast the mask input to logical<4> before passing it
to the runtime function, this has been changed to allow different types of logical.

Diff Detail

Event Timeline

SBallantyne created this revision.Feb 27 2023, 5:51 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 27 2023, 5:51 AM
SBallantyne requested review of this revision.Feb 27 2023, 5:51 AM
tblah accepted this revision.Feb 27 2023, 6:04 AM

LGTM

This revision is now accepted and ready to land.Feb 27 2023, 6:04 AM

Appease clang format