This is an archive of the discontinued LLVM Phabricator instance.

[flang] Recognize unused dummy arguments during lowering with HLFIR.
ClosedPublic

Authored by vzakhari on Apr 25 2023, 10:16 PM.

Details

Summary

So far we've relied on AllocaOp to represent the dummy arguments
not declared for the current entry. With HLFIR we have to account
for hlfir::DeclareOp.

Diff Detail

Event Timeline

vzakhari created this revision.Apr 25 2023, 10:16 PM
vzakhari requested review of this revision.Apr 25 2023, 10:16 PM
jeanPerier accepted this revision.Apr 26 2023, 12:33 AM

Looks good, thanks!

This revision is now accepted and ready to land.Apr 26 2023, 12:33 AM