This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix crash in folding (#48437)
ClosedPublic

Authored by klausler on Dec 15 2020, 11:01 AM.

Details

Summary

Elemental intrinsic function folding was not taking the lower
bounds of constant array arguments into account; these lower bounds
can be distinct from 1 when named constants appear as arguments.

LLVM bugzilla #48437.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2020, 11:01 AM
klausler requested review of this revision.Dec 15 2020, 11:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 11:01 AM
jeanPerier accepted this revision.Dec 16 2020, 1:03 AM

Looks good to me

This revision is now accepted and ready to land.Dec 16 2020, 1:03 AM
This revision was landed with ongoing or failed builds.Dec 16 2020, 8:31 AM
This revision was automatically updated to reflect the committed changes.