This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] add genType(FunctionRef<T>) entry points in lowering
ClosedPublic

Authored by jeanPerier on Nov 30 2022, 3:10 AM.

Details

Summary

This will help lowering to HLFIR to not use the AsGenericExpr/AsExpr
patterns that copies sub-expresssions into evaluate::SomeExpr so that
they can be passed to helpers. Sub-expressions like FunctionRef can
be heavy (hundreds of arguments, constant array expression arguments...).

Diff Detail

Event Timeline

jeanPerier created this revision.Nov 30 2022, 3:10 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier requested review of this revision.Nov 30 2022, 3:10 AM
This revision is now accepted and ready to land.Nov 30 2022, 4:46 AM