This is an archive of the discontinued LLVM Phabricator instance.

Add sanity check in MLIR ODS to catch case where two results have the same name
ClosedPublic

Authored by mehdi_amini on Sep 8 2021, 11:07 AM.

Details

Summary

This is making a tablegen crash with a more friendly error.

Diff Detail

Event Timeline

mehdi_amini created this revision.Sep 8 2021, 11:07 AM
mehdi_amini requested review of this revision.Sep 8 2021, 11:07 AM
jpienaar accepted this revision.Sep 8 2021, 3:40 PM

I could have sworn I approved this already, sorry, must have not clicked submit.

This revision is now accepted and ready to land.Sep 8 2021, 3:40 PM

We should check that no names overlap, i.e. no operand/result/region/successor/etc. can have the same name.