This is an archive of the discontinued LLVM Phabricator instance.

[flang] Diagnose REPEAT with negative NCOPIES=
ClosedPublic

Authored by klausler on Feb 11 2023, 10:54 AM.

Details

Summary

Emit an error when the NCOPIES= argument to the intrinsic function
REPEAT has a negative value. (The current implementation crashes, which
isn't informative.)

Diff Detail

Event Timeline

klausler created this revision.Feb 11 2023, 10:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2023, 10:54 AM
klausler requested review of this revision.Feb 11 2023, 10:54 AM

You tend to upload without context. Do you need a pointer for some help?

vdonaldson accepted this revision.Feb 12 2023, 8:57 PM
This revision is now accepted and ready to land.Feb 12 2023, 8:57 PM
This revision was automatically updated to reflect the committed changes.