This is an archive of the discontinued LLVM Phabricator instance.

[Flang][HLFIR] Relax size check for dot_product intrinsic
ClosedPublic

Authored by kiranchandramohan on Jul 14 2023, 8:33 AM.

Details

Summary

If the size of one of the operand arrays is not known at compile
time, do not issue a size mismatch error sinc they could match at
runtime.

Fixes the compilation error in polyhedron/induct2.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 14 2023, 8:33 AM
kiranchandramohan requested review of this revision.Jul 14 2023, 8:33 AM
tblah accepted this revision.Jul 14 2023, 8:42 AM

LGTM thanks!

This revision is now accepted and ready to land.Jul 14 2023, 8:42 AM
vzakhari accepted this revision.Jul 17 2023, 8:18 AM

Thank you, Kiran!