This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Align LLVM_Type ODS constraint on type verifiers
ClosedPublic

Authored by ftynse on Jan 5 2022, 9:38 AM.

Details

Summary

Verify only the outer type being LLVM-compatible, the elemental types if
present are already checked by the type verifiers. This makes some LLVM dialect
operations compatible with mixed-dialect types that appear during progressive
lowering.

Diff Detail

Event Timeline

ftynse created this revision.Jan 5 2022, 9:38 AM
ftynse requested review of this revision.Jan 5 2022, 9:38 AM
wsmoses accepted this revision.Jan 5 2022, 9:40 AM
This revision is now accepted and ready to land.Jan 5 2022, 9:40 AM
This revision was automatically updated to reflect the committed changes.