This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] Aggressively avoid name collisions in generated python ODS code.
ClosedPublic

Authored by stellaraccident on Dec 29 2020, 2:04 PM.

Details

Summary
  • When porting npcomp to use these bindings, I ran into enough patterns of collisions that I decided to be somewhat draconian about not polluting the namespace.
  • With these changes all of the npcomp dialects generate and pass what tests we have.

Diff Detail