Depends on D144880
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Nits in the result type computation, looks good otherwise.
flang/lib/Lower/ConvertCall.cpp | ||
---|---|---|
1325 | nit: arrayType simplify proof reading. | |
1332 | /*polymorphic=*/false should be hlfir::Entity{operands[0]}.isPolymorphic(); You can test it with a polymorphic input adding --polymorphic-type to bbc. Polymorphism support is ramping up in the current lowering, so HLFIR will have to be on par and beyond to switch. |
Thanks for review
Changes:
- Rename array to arrayTy
- Set isPolymorphic correctly
- Add a test featuring transpose of a matrix polymorphic types
flang/test/Lower/HLFIR/transpose.f90 | ||
---|---|---|
21 | +1 thanks to add polymorphic tests! |
flang/test/Lower/HLFIR/transpose.f90 | ||
---|---|---|
30 | Thanks a lot for the update. The lit test failure is caused by the missing ? after the element type inside hlfir.expr to denote it is polymorphic: !hlfir.expr<2x1xnone?> |
nit: arrayType simplify proof reading.