This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't crash attempting to fold absurdly large TRANSFER()
ClosedPublic

Authored by klausler on Dec 15 2022, 11:29 AM.

Details

Summary

Apply some sanity checking to the type size and SIZE= values and
avoid crashing on stress tests that attempt to create excessively
large results.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 11:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 11:29 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 11:29 AM
vdonaldson accepted this revision.Dec 15 2022, 1:00 PM
This revision is now accepted and ready to land.Dec 15 2022, 1:00 PM