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.
Paths
| Differential D155302
[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 Fixes the compilation error in polyhedron/induct2.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 14 2023, 8:33 AM This revision is now accepted and ready to land.Jul 14 2023, 8:42 AM Closed by commit rG41f478f04197: [Flang][HLFIR] Relax size check for dot_product intrinsic (authored by kiranchandramohan). · Explain WhyJul 18 2023, 2:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 540432 flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
flang/test/Lower/HLFIR/dot_product.f90
|