This is an archive of the discontinued LLVM Phabricator instance.

[flang] Make CollectBindings available to lowering
ClosedPublic

Authored by clementval on Nov 16 2022, 6:37 AM.

Diff Detail

Event Timeline

clementval created this revision.Nov 16 2022, 6:37 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 16 2022, 6:37 AM
clementval requested review of this revision.Nov 16 2022, 6:37 AM
This revision is now accepted and ready to land.Nov 16 2022, 8:27 AM
PeteSteinfeld accepted this revision.Nov 16 2022, 8:33 AM

All builds and tests correctly and looks good.

It's not a generally useful utility, so it probably doesn't belong in tools.{h,cpp}. Can you leave it where it is and just decouple it from it current class?

It's not a generally useful utility, so it probably doesn't belong in tools.{h,cpp}. Can you leave it where it is and just decouple it from it current class?

Sure. I’ll update the patch.

Keep function in the same file

clementval retitled this revision from [flang] Move CollectBindings to tools to [flang] Make CollectBindings available to lowering.Nov 17 2022, 12:39 AM
clementval edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.
klausler added inline comments.Nov 17 2022, 9:07 AM
flang/include/flang/Semantics/runtime-type-info.h
41

SymbolVector might be better here -- it's a vector of SymbolRef.

clementval added inline comments.Nov 17 2022, 9:14 AM
flang/include/flang/Semantics/runtime-type-info.h
41

I'll update that.