[all-commits] [llvm/llvm-project] 8a1f1a: [mlir][python] Aggressively avoid name collisions ...
Stella Laurenzo via All-commits
all-commits at lists.llvm.org
Tue Dec 29 17:51:35 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8a1f1a100cce6ed9b52aedbbf03da887833508be
https://github.com/llvm/llvm-project/commit/8a1f1a100cce6ed9b52aedbbf03da887833508be
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2020-12-29 (Tue, 29 Dec 2020)
Changed paths:
M mlir/include/mlir/Bindings/Python/Attributes.td
M mlir/test/mlir-tblgen/op-python-bindings.td
M mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
Log Message:
-----------
[mlir][python] Aggressively avoid name collisions in generated python ODS code.
* 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.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D93920
More information about the All-commits
mailing list