This is an archive of the discontinued LLVM Phabricator instance.

[flang] Skip OPTIONAL arguments in LoopVersioning.
ClosedPublic

Authored by vzakhari on Aug 24 2023, 5:22 PM.

Details

Summary

This patch fixes multiple tests failing with segfault due to accessing
absent argument box before the loop versioning check.
The absent arguments might be treated as contiguous for the purpose
of loop versioning, but this is not done in this patch.

Diff Detail

Event Timeline

vzakhari created this revision.Aug 24 2023, 5:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2023, 5:22 PM
vzakhari requested review of this revision.Aug 24 2023, 5:22 PM
PeteSteinfeld accepted this revision.Aug 24 2023, 6:21 PM

All builds, tests, and looks good.

Thanks for the quick fix!

This revision is now accepted and ready to land.Aug 24 2023, 6:21 PM
This revision was automatically updated to reflect the committed changes.