[mlir][linalg][python] Add auto-generated file warning (NFC).

Annotate LinalgNamedStructuredOps.yaml with a comment stating the file is auto-generated and should not be edited manually.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D105809
This commit is contained in:
Tobias Gysi
2021-07-12 12:31:30 +00:00
parent 96b4117d51
commit b4e843ba3a
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
# Auto-generated file. Do not edit!
--- !LinalgOpConfig
metadata: !LinalgOpMetadata
name: matmul

View File

@@ -81,6 +81,7 @@ def main(args):
# Print.
if args.format == "yaml":
print("# Auto-generated file. Do not edit!")
print(yaml_dump_all(configs))
elif args.format == "repr":
for config in configs: