This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check constant POS/LEN arguments IBITS even when not both constant
ClosedPublic

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

Details

Summary

Apply compile-time checks to the values supplied for the POS and LEN
arguments of the IBITS intrinsic function even when only one of them
is a known constant.

Diff Detail

Event Timeline

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

All builds and tests correctly and looks good.

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