This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Update CallInterfaceCallable to use the new casting infra
ClosedPublic

Authored by nkreeger on Oct 12 2022, 3:58 PM.

Details

Summary

This enables casting LLVM style for mlir::CallInterfaceCallable usage.

Diff Detail

Event Timeline

nkreeger created this revision.Oct 12 2022, 3:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2022, 3:58 PM
nkreeger requested review of this revision.Oct 12 2022, 3:58 PM

Can you update the usages to use the new casting infra? There likely aren't many.

lattner accepted this revision.Oct 12 2022, 4:02 PM
lattner added a subscriber: lattner.

Nice Nick, +1 for updating in tree uses if there are any

This revision is now accepted and ready to land.Oct 12 2022, 4:02 PM
nkreeger updated this revision to Diff 467346.Oct 12 2022, 7:51 PM

Updated to fix callers with new dyn_cast usage.

bzcheeseman accepted this revision.Oct 12 2022, 9:32 PM

Thanks Nick :)