This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Establish <storage, mustFree> tuple for ApplyOp and NoReassocOp.
ClosedPublic

Authored by vzakhari on May 10 2023, 9:59 PM.

Details

Summary

The bufferization pass must create the tuple for these operations, because
the users may require it. For example, in case of ElementalOp inlining
a DestroyOp may be generated for the operand of YieldElementOp, and
the operand may be ApplyOp->NoReassocOp chain.

Diff Detail

Event Timeline

vzakhari created this revision.May 10 2023, 9:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2023, 9:59 PM
vzakhari requested review of this revision.May 10 2023, 9:59 PM
jeanPerier accepted this revision.May 11 2023, 12:38 AM

Thanks!

This revision is now accepted and ready to land.May 11 2023, 12:38 AM