This is an archive of the discontinued LLVM Phabricator instance.

[flang] Generalize `AbstractResultOpt` pass
ClosedPublic

Authored by unterumarmung on Jul 14 2022, 8:04 AM.

Details

Summary

This change decouples common functionality for convering abstract
results, so it can be reused later.

Depends on D129485

Diff Detail

Event Timeline

unterumarmung created this revision.Jul 14 2022, 8:04 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
unterumarmung requested review of this revision.Jul 14 2022, 8:04 AM

It would be good to have the patch for GlobalOp as well so we can see how it all fits together.

flang/include/flang/Tools/CLOptions.inc
74

Unrelated change

Removed unrelated change & rebased

Rebased & resolved merge conflicts

jeanPerier accepted this revision.Jul 26 2022, 5:31 AM

Looks good to me, thanks

This revision is now accepted and ready to land.Jul 26 2022, 5:31 AM
clementval accepted this revision.Jul 26 2022, 7:19 AM

LGTM. Just fix couple of typos and punctuations before merging.

flang/lib/Optimizer/Transforms/AbstractResult.cpp
195
196
197–200
258
263

Rebased and fixed style issues

unterumarmung marked 5 inline comments as done.Jul 26 2022, 8:24 AM
This revision was automatically updated to reflect the committed changes.