This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] remove stmtCtx genIntrinsicCall 1/6
ClosedPublic

Authored by tblah on Feb 1 2023, 8:16 AM.

Details

Summary

This removes IntrinsicCall's dependency upon StatementContext, which
will make it easier to move IntrinsicCall into flang/lib/Optimizer, for
use in passes.

Diff Detail

Event Timeline

tblah created this revision.Feb 1 2023, 8:16 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
tblah requested review of this revision.Feb 1 2023, 8:16 AM
jeanPerier accepted this revision.Feb 1 2023, 10:48 AM

Thanks

flang/lib/Lower/ConvertExpr.cpp
662 ↗(On Diff #493958)

I would rather I would rather add a declaration in CustomIntrinsicCall.h and use it here rather than duplicating it since it is exactly the same.

This revision is now accepted and ready to land.Feb 1 2023, 10:48 AM
tblah updated this revision to Diff 494312.Feb 2 2023, 7:46 AM

Changes: move function to CustomIntrinsicCall.h

jeanPerier accepted this revision.Feb 3 2023, 10:45 AM

Thanks

This revision was automatically updated to reflect the committed changes.