[all-commits] [llvm/llvm-project] 24f929: [mlir][Tensor] Allow builders of `tensor.empty` to...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Thu Nov 3 13:37:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 24f9293de8794963bd29c731745a71ef6a1aab9d
https://github.com/llvm/llvm-project/commit/24f9293de8794963bd29c731745a71ef6a1aab9d
Author: Mahesh Ravishankar <ravishankarm at google.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/ops.mlir
Log Message:
-----------
[mlir][Tensor] Allow builders of `tensor.empty` to accept encoding attribute.
The `RankedTensorType` can have an optional encoding
attribute. Allowing the builders of `tensor.empty` to accept the
encoding attribute (optionally), allows building empty tensors with
the type having the encoding attribute.
Reviewed By: nicolasvasilache, hanchung, springerm
Differential Revision: https://reviews.llvm.org/D137297
More information about the All-commits
mailing list