This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Make ComplexType buildable if its element type is buildable
ClosedPublic

Authored by cmtm on Dec 29 2020, 1:13 AM.

Details

Summary

If a ComplexType's element type is buildable, then that ComplexType should be
buildable. This is accomplished by the introduction of a new ODS class called
SameBuildabilityAs. This can be used by other types that are conditionally
buildable.

Diff Detail

Event Timeline

cmtm created this revision.Dec 29 2020, 1:13 AM
cmtm requested review of this revision.Dec 29 2020, 1:13 AM
mehdi_amini accepted this revision.Dec 29 2020, 9:05 AM
This revision is now accepted and ready to land.Dec 29 2020, 9:05 AM
cmtm added a comment.EditedDec 29 2020, 1:28 PM

Can you please submit this for me?
--author="Chris Morin <cmtm@google.com>"