This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Generically resolve body in FunctionOpInterface verifyBody.
ClosedPublic

Authored by stellaraccident on Apr 13 2022, 8:17 PM.

Details

Summary

Since the actual implementation class can arbitrarily shadow parts of the FunctionOpInterface exported API, access the body generically instead of via the use of the interface being defined.

Fixes https://github.com/llvm/llvm-project/issues/54807

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
stellaraccident requested review of this revision.Apr 13 2022, 8:17 PM
mehdi_amini accepted this revision.Apr 13 2022, 8:22 PM
This revision is now accepted and ready to land.Apr 13 2022, 8:22 PM
This revision was landed with ongoing or failed builds.Apr 13 2022, 8:59 PM
This revision was automatically updated to reflect the committed changes.