[all-commits] [llvm/llvm-project] e9085d: [mlir][OpDSL] Rename function to make signedness e...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Tue Mar 1 00:19:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9085d0d2558aebb735d23c47ff8595171a2ce93
https://github.com/llvm/llvm-project/commit/e9085d0d2558aebb735d23c47ff8595171a2ce93
Author: gysit <gysit at google.com>
Date: 2022-03-01 (Tue, 01 Mar 2022)
Changed paths:
M mlir/docs/Dialects/Linalg/OpDSL.md
M mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
M mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
M mlir/test/mlir-linalg-ods-gen/test-linalg-ods-yaml-gen.yaml
M mlir/test/python/dialects/linalg/opdsl/arguments.py
M mlir/test/python/dialects/linalg/opdsl/assignments.py
M mlir/test/python/dialects/linalg/opdsl/emit_convolution.py
M mlir/test/python/dialects/linalg/opdsl/emit_fill.py
M mlir/test/python/dialects/linalg/opdsl/emit_matmul.py
M mlir/test/python/dialects/linalg/opdsl/emit_misc.py
M mlir/test/python/dialects/linalg/opdsl/emit_pooling.py
M mlir/test/python/dialects/linalg/opdsl/interfaces.py
M mlir/test/python/dialects/linalg/opdsl/shape_maps_iteration.py
M mlir/test/python/dialects/linalg/ops.py
Log Message:
-----------
[mlir][OpDSL] Rename function to make signedness explicit (NFC).
The revision renames the following OpDSL functions:
```
TypeFn.cast -> TypeFn.cast_signed
BinaryFn.min -> BinaryFn.min_signed
BinaryFn.max -> BinaryFn.max_signed
```
The corresponding enum values on the C++ side are renamed accordingly:
```
#linalg.type_fn<cast> -> #linalg.type_fn<cast_signed>
#linalg.binary_fn<min> -> #linalg.binary_fn<min_signed>
#linalg.binary_fn<max> -> #linalg.binary_fn<max_signed>
```
Depends On D120110
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D120562
More information about the All-commits
mailing list