This is an archive of the discontinued LLVM Phabricator instance.

[fir] TargetRewrite: Rewrite fir.address_of(func)
ClosedPublic

Authored by rovka on Dec 1 2021, 8:59 PM.

Details

Summary

Rewrite AddrOfOp if taking the address of a function.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Diff Detail

Event Timeline

rovka created this revision.Dec 1 2021, 8:59 PM
rovka requested review of this revision.Dec 1 2021, 8:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2021, 8:59 PM
clementval accepted this revision.Dec 2 2021, 9:39 AM

Thanks for working on that. Just a small comment on my side.

flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
352
This revision is now accepted and ready to land.Dec 2 2021, 9:39 AM
This revision was automatically updated to reflect the committed changes.