Page MenuHomePhabricator

[mlir] Fix a cast that should be a dyn_cast.
ClosedPublic

Authored by jreiffers on Sep 22 2022, 4:02 AM.

Details

Summary

This fixes a crash for certain IR, see the new test case for an
example.

Diff Detail

Event Timeline

jreiffers created this revision.Sep 22 2022, 4:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2022, 4:02 AM
jreiffers requested review of this revision.Sep 22 2022, 4:02 AM
ftynse accepted this revision.Sep 22 2022, 4:11 AM
This revision is now accepted and ready to land.Sep 22 2022, 4:11 AM
This revision was automatically updated to reflect the committed changes.